hide_code is a Jupyter notebook extension to selectively hide code, prompts and outputs with PDF and HTML exporting support. Check out the demo with
pip install hide_codejupyter nbextension install --py hide_codejupyter nbextension enable --py hide_codejupyter serverextension enable --py hide_code
pip install hide_code --upgradejupyter nbextension install --py hide_code
Note: add --sys-prefix to jupyter nbextension to install into virtualenv or conda environment.
- Added Binder demo
- Simplified extension installation. No longer need to use nbextension/serverextension commands after pip install.
- No longer supporting Python 2.7 or . Install hide_code==0.5.2 for Python 2.7.
- 0.5.6 is the last version to support Python versions below 3.7.
- Fixed latexpdf exporting.
- Changed nbconvert --to hide_code_pdf to use pdfkit.
- Fixed issue exporting notebooks after renaming a notebook.
- Resolved issue exporting notebooks with spaces in notebook name.
- Updated reading file to always use utf-8 encoding. This should resolve non-latin character issues.
- Renamed license file.
Visit the Wiki.
- Jupyter notebook ~>5.1
- Jupyter nbconvert ~>5.0.
- pdfkit & wkhtmltopdf
- Python 3.4+

