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_code
jupyter nbextension install --py hide_code
jupyter nbextension enable --py hide_code
jupyter serverextension enable --py hide_code
pip install hide_code[lab]
jupyter lab build
pip install hide_code --upgrade
jupyter nbextension install --py hide_code
Note: add --sys-prefix
to jupyter nbextension
to install into virtualenv or conda environment.
- Added experiemental Jupyter Lab support. See Lab usage for details and limitations.
- Added Binder demo
- Simplified extension installation. No longer need to use nbextension/serverextension commands after pip install.
- No longer supporting Python 2.7. Install hide_code==0.5.2 for Python 2.7.
- 0.5.6 is the last version to support Python 3.6 and older.
- Added extras_install [all] to install hide_code and all dependencies. Use
pip install hide_code[all]
to install. Resolves #85.
Visit the Wiki.
- Jupyter notebook >6.0
- Jupyter nbconvert >6.x
- pdfkit & wkhtmltopdf
- Python 3.7+