Skip to content

Instantly share code, notes, and snippets.

@fuadnafiz98
Created May 18, 2021 23:03
Show Gist options
  • Save fuadnafiz98/d18aac05e99c26d82f44d8af154d92dd to your computer and use it in GitHub Desktop.
Save fuadnafiz98/d18aac05e99c26d82f44d8af154d92dd to your computer and use it in GitHub Desktop.
Pandoc to PDF conversion
#!/bin/bash
pandoc --pdf-engine=wkhtmltopdf \
README.md -o out.pdf \
-V fontsize=16pt \
-V 'mainfont:JetBrains Mono' \
-V 'monofont:JetBrains Mono' \
-V 'linkcolor:#3b82f6' \
-V 'monobackgroundcolor:#F3F4F6' \
-V 'papersize:a4' \
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment