How to publish several slides to the same GitHub Pages site #524
Replies: 1 comment 2 replies
-
Marp team has no particular opinion about the structure for managing and publishing multiple Marp slides, but it would become easy to publish multiple pages to GitHub Pages by matching the structure of Markdown and related files into the Web page. For example, if you are managing Markdown documents with a following strcuture:
You can prepare the artifact for publishing to GitHub pages with the following simple build steps powered by Marp CLI: cp -r ./src ./dist
marp ./dist Marp CLI will find out Markdown files from
Then, you can publish all slides to GitHub Pages by uploading Also refer to the help for GitHub Pages for publishing pages with the custom GitHub Actions. |
Beta Was this translation helpful? Give feedback.
-
Hello 👋
I like to use marp to summarise investigations into new technologies because it means all the code and documentation resides in a single location. The investigations are saved to the same repo which means I can't publish a GitHub Page per investigation.
Instead, I use a
marp-to-pages
GitHub workflow which loops through the folder investigations, copies any images in the respectiveimages
folder, converts the slides to HTML and publishes the slides underhttps://moj-analytical-services.github.io/dmet-cfe/<investigation_name>
Beta Was this translation helpful? Give feedback.
All reactions