add Pandoc to create PDF cheat sheet
This commit is contained in:
parent
c0b5363040
commit
73eea67048
6 changed files with 327 additions and 25 deletions
7
mkcheatsheet.sh
Executable file
7
mkcheatsheet.sh
Executable file
|
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
# Renders MARKDOWN.md to PDF with Pandoc
|
||||
# Packages required:
|
||||
# - pandoc
|
||||
# - basictex (brew install --cask basictex)
|
||||
pandoc --standalone --from=markdown+yaml_metadata_block --template=tmpl.tex \
|
||||
--metadata-file=vars.yml --pdf-engine=xelatex -o CHEATSHEET.pdf CHEATSHEET.md
|
||||
Loading…
Add table
Add a link
Reference in a new issue