This repo features Markdown presentation slide snippets using the Marp framework. Below examples and instructions help setting up the environment.
- download and install VS Code
- open VS Code and choose
Extensions
on the vertical tab bar - type
Marp for VS Code
and install the extension - open a Markdown file (e.g. marp_recipes.md from this repo)
- press
ctrl+shift+v
(Linux & Win) orcmd+shift+v
on macOS for the slides preview - Unix systems may require an installation of Google Chrome or Chromium
- install node.js from https://nodejs.org/en/download/ and make sure it was successful
$ node --version
- install marp-cli
$ npm install --save-dev @marp-team/marp-cli
- convert file
$ npx @marp-team/marp-cli ./template_hahnec.md --html --pdf --allow-local-files --theme-set ./themes/
$ npx @marp-team/marp-cli ./template_hahnec.md --html --theme ./themes/hahnec.css
$ npx @marp-team/marp-cli ./template_hahnec.md --pptx --theme-set ./themes/
or use the provided bash script to generate outputs
$ bash compile.sh