515 B
515 B
hedgedoc2pdf
Shellscript that converts a hedgedoc pad to pdf using pandoc
You also need the python package pandoc-latex-environment.
Because of this, install the package in an virtual environment.
python -m venv venv
source venv/bin/activate
pip install pandoc-latex-environment
wget https://md.margau.net/19IN-4Sem-SuSII-Zusammenfassung/download -O - | cat header.md - | sed -E -f test.sed | pandoc --filter pandoc-latex-environment --number-sections -i wilde_definitionen.md - -o main.pdf