Can I convert GitHub pages with Jekyll to pdf?

Viewed 3259
1 Answers

See http://pandoc.org/MANUAL.html#creating-a-pdf, thus for example:

pandoc https://emanuelfontelles.github.io/cv/ -f html-native_divs -o cv.pdf --pdf-engine=xelatex

The -native_divs is necessary to disable parsing of divs. Because pandoc looks out for the columns class, which is sometimes used for beamer slideshows...

Or if you don't like LaTeX:

wkhtmltopdf https://emanuelfontelles.github.io/cv/ cv.pdf

Or if you would like to use a different stylesheet:

pandoc -o cv.pdf --pdf-engine=wkhtmltopdf --css myprintstyles.css https://emanuelfontelles.github.io/cv/
Related