I use pandoc
to simply compile pdf files from markdown files:
pandoc markdown.md -o output.pdf
however this renders the PDF with lots of white space. Is there a way to change the layout of the output or do I have to go the way through a tex
file?
like:
pandoc markdown.md -o output.tex
# edit margins of the output.tex;
# then:
pandoc markdown.tex -o output.pdf
geometry
in the YAML block, as documented in the manual: pandoc.org/MANUAL.html#variables-for-latex