This template allows you to deploy your Marp Presentation via GitHub Pages
-
Click on
Use this template
and create a repository -
Enable Pages: Settings > Pages > Source: Select GitHub Actions
-
Re-run the
Deploy to GitHub Pages
Action
Install marp cli:
npm i @marp-team/marp-cli
Add the following build script:
npx @marp-team/marp-cli --html index.md -o build/index.html --theme theme.css && cp -r assets/ build/ | true
To preview your marp project you can use the VSCode extension.
Marp for VS Code exention > Settings > Markdown > Marp: Themes
> Add item theme.css