Usage:
./markdown2pdf filename.md
On Ubuntu 18.04 LTS, the following packages are required:
pandoc
pandoc-citeproc
texlive-latex-extra
texlive-xetex
Optionally, if you want to embed diagrams you'll need:
default-jre
graphviz
librsvg2-bin
python3-pip
and then run the command $ pip3 install panflute
.
For PlantUML diagrams, you'll need to download
the jar file and put it in the jars/
subdirectory.
For latex support in PlantUML you should also add the following jars:
jlatexmath-1.0.3.jar
batik-all-1.10.jar