-
Notifications
You must be signed in to change notification settings - Fork 137
Closed
Description
The documentation has a nice discussion of how to hide code cells and their output entirely. It is however also frequently useful to hide just the code and not the output for some or all code-cells in a notebook (e.g. to make an HTML only report). I've seen some rendered html that seems to go further by offering code-folding buttons on the rendered html.
Is there a way to hide just the code input but not the output with nbsphinx? For reference, with jupyter's nbconvert one can use templates and a command as such:
jupyter nbconvert your_notebook.ipynb --to html --template output_toggle_html
where the template is like the one adapted from this SO answer
aiqc, stes and kolibril13
Metadata
Metadata
Assignees
Labels
No labels