pandoc README.md -o readme.pdf \
-V fontfamily=libertine \
-V fontfamilyoptions=osf \
-V geometry:margin=3cm
Convert the MarkDown documents to PDF using custom margin
General
Documentation
Linux

- converts the MarkDown documents without considering any template
- uses custom font (from latex package)
- sets a custom margin around the page
- if you need to use Table of Content use "--toc" flag.

Description :

Example :

2026 Aug