blog

View on GitHub
28 May 2020

How To Convert Markdown Files To Pdf With Pandoc And Docker

Requirements

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