Search code examples
pythonjupyter

Hide Code when exporting Jupyter notebook to HTML


I'm looking for a way to hide code cells (inputs) when export my .iipynb file to a HTML. I don't want the code cells to be visible at all (not some button that turn them off/on). The output is for people that have no idea what a programming language is. I tried many things that I found on the internet but nothing seems to work.

Thanks


Solution

  • I finaly found that : https://pypi.org/project/hide_code/0.2.0/

    It's a jupyter extension and it's working like a charm. I use the command prompt to convert the notebook into an html, since the buttons that comes with the extension don't work for me.