marp-recipes
marp-recipes copied to clipboard
Marp presentation slides and templates
marp-recipes
This repo features Markdown presentation slide snippets using the Marp framework. Below examples and instructions help setting up the environment.
Results
Getting started
- download and install VS Code
- open VS Code and choose
Extensionson the vertical tab bar - type
Marp for VS Codeand install the extension - open a Markdown file (e.g. marp_recipes.md from this repo)
- press
ctrl+shift+v(Linux & Win) orcmd+shift+von macOS for the slides preview - Unix systems may require an installation of Google Chrome or Chromium
CLI Slide Export
- 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