首页 > 解决方案 > Remove source code from notebook cell with Nbconvert 6.x

问题描述

I would like to create an HTML report from a Jupyter notebook without the source code, i.e. only the markdown cells and the output cells. I was a little bit surprised to find nothing on this since I presume it should be a common problem. I tried to use the class nbconvert.preprocessors.RegexRemovePreprocessor but that removes the input cell AND the output cell.

Any ideas?

标签: jupyternbconvert

解决方案


推荐阅读