How to set pandoc PDF page border on the command line

Add these command line options:

pandoc_margin_example.sh
-V geometry:margin=20mm

-V is short-form for --variable

This will configure the default LaTeX template to use

example.txt
\usepackage[margin=20mm]{geometry}

Check out similar posts by category: LaTeX