To convert presentation.md to presentation.html and presentation.pdf with MARP, follow these steps:
-
Install MARP CLI if you haven't already:
npm install -g @marp-team/marp-cli
-
To generate the HTML file:
marp presentation.md --html --allow-local-files --theme-set theme/donjon.scss --theme donjon -o presentation.html
-
To generate the PDF file:
marp presentation.md --pdf --pdf-outlines --allow-local-files --theme-set theme/donjon.scss --theme donjon -o presentation.pdf
You can also check the official MARP documentation for more options: https://marp.app/
- Modify
datainqrlink.pyaccordingly. - Install virtual environment
python3 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install 'qrcode[pil]' Pillow- Generate the PNG file
python qrlink.py