Skip to main content

Javascript based Jupyter Notebook additions (Table of Content, hide code, Figure numbers, ...)

Project description

# Index for Jupyter notebooks nbindex is a small package containing several Javascript additions for Jupyter notebooks like a Table of Content or a Code Hider. These additions are designed to be executed in a notebook cell so that the added HTML and Javascript functions will remain hidden in the cell output and can be exported by the regular HTML export of Jupyter.

Installation:

pip install nbindex-jupyter

## Usage

### ToC and CodeHider

from nbindex import utils, floating floating.tableofcontent() floating.codehider()

![toc_codehider.png](examples/toc_codehider.png)

### Numbered objects (Figures, …)

from nbindex import numbered numbered.Figure() numbered.object(“Figure”)

![numbered.png](examples/numbered.png)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nbindex-jupyter-0.1.3.tar.gz (4.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page