cv/render.sh

18 lines
360 B
Bash
Executable File

#!/bin/bash
file=$1
lineheight=$2
echo $file.md |
entr -s \
"pandoc \
-f gfm \
$file.md \
-o $file.pdf \
-V fontfamily=merriweather \
-V geometry:margin=0.8in \
-V pagestyle:empty \
-V fontfamilyoptions:light \
--from=markdown+multiline_tables \
-V linestretch:$lineheight"