Create a Marp presentation site that can be built and published on [GitHub Pages] using this minimal template. The site features:
- Marp integration
- A GitHub Pages / Actions workflow for build and publish (See a preview)
- A DevContainer/CodeSpace configuration with Marp and Markdown preview extensions
- Chrome installation for PDF and PowerPoint slide creation on Linux
Feel free to customize the sites created with this template as you like!
- Click "[use this template]" to create a new site.
- Update the content of
slides/Slides.md
with your own presentation.
This template includes four custom themes in the slides/themes
folder:
- custom
- custom-default (based on the built-in default theme)
- custom-gaia (based on the built-in gaia theme)
- custom-uncover (based on the built-in uncover theme)
To use a custom theme, edit the relevant css file and add its reference in the front matter of Slides.md
. For example, to use custom-default
add the following to the Slides.md
front matter:
---
marp: true
theme: custom-default
---
For additional themes, add them to the devcontainer and follow the Marp custom theme documentation.
- In your GitHub repo, navigate to
Settings
>Pages
>Build and deployment
. - Select
Source
:GitHub Actions
. - If any Actions failed, go to the
Actions
tab and click onRe-run jobs
.
- Install Visual Studio Code.
- Install the Marp for VS Code extension.
- Open
slides/Slides.md
in VS Code.
This repository is licensed under the [MIT License]. Reuse or extend the code as you wish, but include the original license. The deployment GitHub Actions workflow is based on GitHub's starter workflows.
-
GitHub Pages: https://docs.github.com/en/pages
-
CommonMark markdown syntax: https://commonmark.org/help/
-
Marp Official Repository: https://github.com/marp-team/marp
-
Marp Official Documentation: https://marpit.marp.app/markdown
-
Marp for VS Code Documentation: https://marketplace.visualstudio.com/items?itemName=marp-team.marp-vscode