Can I convert GitHub pages with Jekyll to pdf?

Emanuel Fontelles

I have an GitHub page that contains my vitae. Github renders the Jekyll page to HTML produces the website https://emanuelfontelles.github.io/cv/.

How can I convert this webpage to pdf using pandoc or even Jekyll?

mb21

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/

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Can I access metadata from a third-party GitHub repo from a Jekyll site on github-pages?

How Can I Convert Github-Flavored Markdown To A PDF

How do I customize Jekyll theme for a single page in GitHub pages?

I use jquery in github pages which use jekyll to generate website

Using Github pages with Jekyll in a subdirectory

Github pages jekyll images not loading

Installing Jekyll 3.8.5 on GitHub Pages

Jekyll on Github Pages not rendering CSS

Setting Jekyll environment for GitHub Pages

Animation on jekyll run github pages

Problem with GitHub Pages Jekyll Template

Jekyll/ GH pages Embed Pdf

GitHub Pages Jekyll theme working for pages but not for posts

How to separate posts by pages on Jekyll GitHub Pages?

In Jekyll, how can I create a tag archive for pages?

Rendering a GitHub wiki on a GitHub Pages Jekyll site

How can I sync documentation with Github Pages?

Can I serve gzipped JSON on GitHub Pages?

Can I manipulate an image in the browser with github pages?

How can I scrape several pages of a pdf?

Tell Jekyll (on github pages) to convert README.md to README.html, not index.html

How can I use Jekyll with my domain, but hosted on GitHub?

Github Pages and Jekyll permalinks going to different paths

Jekyll (for GitHub Pages): How to create a carousel of Divs?

Generate category page in jekyll targeting github pages

Jekyll includes not working in GitHub Pages without a template

How to prevent jekyll build on github pages

GitHub Pages Jekyll won't build

running jekyll locally on a github pages site project