Newer
Older
#!/bin/bash
#
# PY Barriat, September 2024
#
# Download and install marp (MarkDown slides extension) from here:
# https://github.com/marp-team/marp-cli/releases
#
# Install npm (needed for mermaid: nice extension to make diagramm)
# npm i
# sudo apt install npm
#
rm -f ./Python.pdf ./Python.html
npx marp --allow-local-files --theme ./assets/tum.css -c ./assets/marp.config.js ./Python.md -o Python.pdf
npx marp --template bespoke --bespoke.progress --allow-local-files --theme ./assets/tum.css -c ./assets/marp.config.js Python.md -o Python.html