Generate beautiful pdfs from github markdown files using pandoc.
./pandoc-script.sh [file_name].md [file_name].pdf
-
MacOS
brew install mactex librsvg
-
Ubuntu/Debian
sudo apt install texlive-xetex librsvg2-bin texlive-science
Source: https://learnbyexample.github.io/customizing-pandoc/