This repo holds a simple setup to create presentations using Marp.
- pnpm
- just
- git
- fish
- xdg-open
- findutils
- oxipng
- jpegoptim
In the src folder you need to have subfolders. Each subfolder holds one index.md. The subfolder's name corresponds to the name of the generated PDF. Each generated PDF can be found in the dist folder.
-
cd src -
Install dependencies:
just install -
cd example -
Build the empty example.pdf:
just build -
Use
just watchduring your work to enable automatic pdf generation when applying changes
Assets are placed in the subfolders next to the index.md.
pngs and jpegs can be optimized using just optimize.
Place a theme.css next to the index.md and write your custom css. See https://marpit.marp.app/directives for detailed examples.