damianavila / RISE

RISE: "Live" Reveal.js Jupyter/IPython Slideshow Extension
Other
3.68k stars 416 forks source link

add alternative command-line Chome pdf export to docs #603

Closed lkeegan closed 2 years ago

lkeegan commented 2 years ago

This can be useful when generating a pdf of a slideshow on CI

parmentelat commented 2 years ago

I have not been able to test this myself I take it the 8000 part in that command must be tweaked to match the running server, is that correct ?

lkeegan commented 2 years ago

Yes - it's the same url as in the existing step 2, just that instead of following step 3 to save the pdf from chrome this can be done directly from the command line.

I use this here to generate pdf versions of some RISE slides: https://github.com/ssciwr/jupyter-data-exploration/blob/main/.github/workflows/publish.yml#L26

damianavila commented 2 years ago

Thanks, @lkeegan!!