Creating code free jupyter notebook exports

4/9/20

This is going to be a really short post! If you’ve ever exported a jupyter notebook to html or pdf in order to share with someone that doesn’t want to see code, I’ve got the answer right here. To export a jupyter notebook without all the code use the following:

jupyter nbconvert --to markdown --TemplateExporter.exclude_input=True index.ipynb

Just replace index.ipynb with the name of your jupyter notebook. More info here