Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hahnec/marp-recipes
Marp presentation slides and templates
https://github.com/hahnec/marp-recipes
markdown marp presentation slide slides template
Last synced: about 16 hours ago
JSON representation
Marp presentation slides and templates
- Host: GitHub
- URL: https://github.com/hahnec/marp-recipes
- Owner: hahnec
- Created: 2020-09-05T22:28:40.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-03-25T18:45:17.000Z (over 2 years ago)
- Last Synced: 2023-03-04T16:18:49.647Z (over 1 year ago)
- Topics: markdown, marp, presentation, slide, slides, template
- Language: SCSS
- Homepage: https://raw.githubusercontent.com/hahnec/marp-recipes/master/marp_recipes.pdf
- Size: 14.8 MB
- Stars: 18
- Watchers: 3
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
marp-recipes
============This repo features Markdown presentation slide snippets using the [Marp](https://marp.app/) framework. Below examples and instructions help setting up the environment.
Results
-------
- [Documentation slides](https://raw.githubusercontent.com/hahnec/marp-recipes/master/marp_recipes.pdf)
- [My template](https://raw.githubusercontent.com/hahnec/marp-recipes/master/template_hahnec.pdf)Getting started
---------------
1. download and install [VS Code](https://code.visualstudio.com)
2. open VS Code and choose `Extensions` on the vertical tab bar
3. type `Marp for VS Code` and install the extension
4. open a Markdown file (e.g. marp_recipes.md from this repo)
5. press `ctrl+shift+v` (Linux & Win) or `cmd+shift+v` on macOS for the slides preview
6. Unix systems may require an installation of [Google Chrome](https://www.google.com/chrome/index.html) or [Chromium](https://www.chromium.org/)CLI Slide Export
----------------1. install node.js from https://nodejs.org/en/download/ and make sure it was successful
```
$ node --version
```2. install marp-cli
```
$ npm install --save-dev @marp-team/marp-cli
```3. 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
```