Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 404 Bytes

pandoc.md

File metadata and controls

14 lines (10 loc) · 404 Bytes

PANDOC Markdown to PDF

When using pandoc with typest to convert markdown document to PDF, the fallback font need to be explicitly defined.

pandoc README.md -o resume.pdf --pdf-engine=typst -V mainfont="Libertinus Serif"

Or if frequently used, create an alias, in bashrc or zshrc.

alias md2pdf='pandoc -o resume.pdf --pdf-engine=typst -V mainfont="Libertinus Serif"'