A Jupyter notebook extension to hide code, prompts and outputs.


Keywords
code-hiding, export, jupyter, nbconvert, notebook, pdf-export
License
MIT
Install
pip install hide-code==0.7.0

Documentation

Hide_code

PyPI version MIT license Release: Travis release build Dev: Dev Build Status

hide_code is a Jupyter notebook extension to selectively hide code, prompts and outputs with PDF and HTML exporting support.

demo

Installation

  1. pip install hide_code
  2. jupyter nbextension install --py hide_code
  3. jupyter nbextension enable --py hide_code
  4. jupyter serverextension enable --py hide_code

Upgrading with nbextension

  1. pip install hide_code --upgrade
  2. jupyter nbextension install --py hide_code

Note: add --sys-prefix to jupyter nbextension to install into virtualenv or conda environment.

New in 0.5.0

  • Export Reveal.js slides or latex templates.
  • Support for nbconvert 5.x+ and notebook 5.x+.

Documentation

Visit the Wiki.

Requirements

  • Jupyter notebook ~>5.1
  • Jupyter nbconvert ~>5.0.
  • pdfkit & wkhtmltopdf
  • Python 2.7 or 3.3+