Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Print GitHub readme to PDF with Pandoc
name: Print readme to PDF
on:
push:
paths: ['readme.md', '.github/workflows/print-readme.yml']
jobs:
make_pdf:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: docker://pandoc/latex:2.9
with:
args: -f gfm --pdf-engine=xelatex --output=readme.pdf readme.md
- uses: actions/upload-artifact@master
with:
name: readme
path: readme.pdf
@hasparus
Copy link
Author

hasparus commented Jul 7, 2020

note for future: install texlive-fonts-extra for librebaskerville?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment