5
0
Fork 0
hedgedoc2pdf/README.md
2021-05-14 14:25:40 +02:00

16 lines
515 B
Markdown

# 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
```