Skip to content

Pandoc

If you need to convert files from one markup format into another, pandoc is your swiss-army knife.

Additional Arguments

Highlight Styles

# List all Highlight Styles
pandoc --list-highlight-styles
pygments
tango
espresso
zenburn
kate
monochrome
breezedark
haddock

## Pandoc Argument
--highlight-style breezedark

PDF Output

--pdf-engine=xelatex

For my template needed packages

  • cm-super
    • Error no Scalable font
  • koma-script
    • ! LaTeX Error: File scrartcl.cls not found.

Template

Latex Template needs to be in the following folders

Windows

C:\\Users\\<username>\\AppData\\Roaming\\pandoc\\templates

Linux

~/.pandoc/templates/
--template=<template>.latex