DEV Community

Discussion on: `pandoc in.md -t context -o out.pdf` doesn't have syntax highlighting

Collapse
 
levirs565 profile image
Levi Rizki Saputra

try converting into HTML. Then convert the HTML to PDF using Chrome or Firefox.

Collapse
 
patarapolw profile image
Pacharapol Withayasakpunt

I tried to avoid that, because I can't have multiple paper sizes / margins / header-footer control.