Ask Your Question

Revision history [back]

When you download a Jupyter notebook as HTML, nbconvert is used to do the conversion. The nbconvert program is highly flexible when you use it directly from the command line or as a library (the "Download as" functionality in Jupyter notebooks just uses this program with some specific sets of arguments). Using nbconvert as a library shows how to extract figures. Removing cells, inputs, or outputs is also possible. So, with some programming effort it should be possible to automate what you want to do with a single call to nbconvert.