5
0
Fork 0
Shellscript that converts a hedgedoc pad to pdf using pandoc
Find a file
2021-05-14 14:25:40 +02:00
.gitignore Initial commit 2021-05-14 13:27:27 +02:00
header.md Moar wild things 2021-05-14 14:25:40 +02:00
LICENSE Initial commit 2021-05-14 13:22:27 +02:00
README.md Moar wild things 2021-05-14 14:25:40 +02:00
test.sed Moar wild things 2021-05-14 14:25:40 +02:00
wilde_definitionen.md Initial commit 2021-05-14 13:27:27 +02:00

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