How to convert a MD to a PDF with Pandoc

Pandoc is a quick tool for making documents into other kind of documents. Here's how to convert a Markdown-file to a PDF.

Kalle Tolonen
15.3.2025
Last updated on 16.3.2025

Install pandoc & a rendering extension (sic)

sudo apt-get install pandoc texlive -y

Money was made

pandoc input.md -o output.pdf

Comments

No published comments yet.


Add a Comment

Your comment is held for review before it appears publicly.

Tick the box, then click Submit right away (Google expires the check after about two minutes).