How To Convert Markdown Files To Pdf With Pandoc And Docker
Requirements
- Docker Desktop
Instructions
From the directory where your markdown file is, run the following command:
Powershell
docker run -v "$((pwd).Path):/data" pandoc/latex pandoc README.md --pdf-engine=xelatex -o example13.pdf
Bash *un-tested syntax
docker run -v "`pwd`":/data pandoc/latex pandoc README.md --pdf-engine=xelatex -o example13.pdf