Compare commits

...

2 Commits

2 changed files with 30 additions and 0 deletions

View File

@ -25,3 +25,18 @@ pandoc \
- `-f gfm` Assume README.md is written in GitHub-flavoured Markdown, ensuring consistent rendering as a PDF and as a repository's README.md
- `-V pagestyle:empty` Drop page numbers
### Formatting scratchpad
Use this for cover letters:
pandoc \
-f gfm \
input.md \
-o output.pdf \
-V fontfamily=merriweather \
-V geometry:margin=0.8in \
-V pagestyle:empty \
-V fontfamilyoptions:light \
-V linestretch:1.5

15
render.sh Executable file
View File

@ -0,0 +1,15 @@
#!/bin/bash
file=$1
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 \
-V linestretch:1.1"