drivendataorg / nbautoexport

Automatically export Jupyter notebooks to various file formats (.py, .html, and more) on save.
https://nbautoexport.drivendata.org/
MIT License
72 stars 9 forks source link

Support webpdf format #59

Open jayqi opened 4 years ago

jayqi commented 4 years ago

nbconvert v6.0 introduced a new webpdf format that generates a PDF via HTML rather than via LaTeX.

https://nbconvert.readthedocs.io/en/latest/usage.html#convert-webpdf

This may need some work on dependencies for CI, since it requires a headless Chromium browser. The documentation suggests that simply installing pyppeteer might be enough.