/mermarpidsome

Mermaid integration with Marp, with Fontawesome icons!

Primary LanguageJavaScript

Mermarpid

This is a boilerplate for a Marp presentation with Mermaid diagrams with FontAwesome icons. It aims to solve these sorts of issues.

result

Usage

This boilerplate allows you to write chapters and have them merged in order into a single pdf with npm run build.

project
├── slides // this is where you write your slides
|   ├── 1-first_chapter.md
|   ├── 2-second_chapter.md
|   └── ...
├── out // this is where you get your pdfs
|   ├── 1-first_chapter.pdf
|   ├── 2-second_chapter.pdf
|   └── ...
└── merged.pdf // this is your merged pdf

You can preview the result in vscode with the included .vscode/settings.json file.

The utility that allows this is join_pdfs.js and i'm looking forward to add an outline feature to it.

You can change the name of the merged.pdf file in package.json

Suggested Vscode extensions

Examples

I'm using this boilerplate for my Javascript course