Pandoc: Markdown to PDF
Posted: Sun Oct 29, 2017 1:00 am
The command is this:
Where you replace "output.pdf" and "input.md" with your destination and source file respectively.
In order to generate PDF documents from Markdown (.md) files, you need the following packages installed:
(This list should work for Debian-based GNU/Linux systems. Tested on Xubuntu 16.04.3)
First of all the conversion tool "Pandoc":
Pandoc requires "pdflatex" to generate PDFs. You need at least these packages to satifsy prerequisites:
Code: Select all
pandoc -so output.pdf input.md
In order to generate PDF documents from Markdown (.md) files, you need the following packages installed:
(This list should work for Debian-based GNU/Linux systems. Tested on Xubuntu 16.04.3)
First of all the conversion tool "Pandoc":
Code: Select all
pandoc
Code: Select all
texlive-latex-base texlive-fonts-recommended