RISE icon indicating copy to clipboard operation
RISE copied to clipboard

Option to avoid exporting notes when in nbconvert

Open marnunez opened this issue 4 years ago • 2 comments

Hi! I was looking to export a huge slideshow I have in RISE to html and pdf, and I found no easy way to export it avoiding the presentation notes. I might be missing something here. Is there a nbconvert flag I'm missing? Thanks

marnunez avatar Dec 10 '20 03:12 marnunez

Hi I'm not 100% positive as I use nbconvert only occasionally, but my mental model is that nbconvert can be tweaked by sort-of stacking so-called preprocessors, and that the framework allows you to write your own writing such a processor that would drop cells marked as notes seems a rather simple task, although I cannot off the top of my head point you at the documentation that spells out how to that, somewhere around here most likely: https://nbconvert.readthedocs.io/en/latest/api/preprocessors.html

parmentelat avatar Dec 11 '20 10:12 parmentelat

@marnunez, with nbconvert, AFAIK, if you convert to --slides and then print to PDF, you should not see the notes (and the same goes with the decktape option). For the static HTML version, @parmentelat's suggestion is in the right direction.

damianavila avatar Dec 17 '20 16:12 damianavila