dotfiles/scripts/mdToPdf

10 lines
188 B
Bash
Executable File

#!/bin/bash
pandoc "$1" \
-f gfm \
-V linkcolor:blue \
-V geometry:a4paper \
-V geometry:margin=2cm \
-V mainfont="Droid Sans" \
--pdf-engine=xelatex \
-o "$2"