nbconvert
Jupyter Notebook Conversion
The nbconvert tool, jupyter nbconvert, converts notebooks to various other
formats via Jinja templates. The nbconvert tool allows you to convert an
.ipynb notebook file into various static formats including:
HTML
LaTeX
PDF
Reveal JS
Markdown (md)
ReStructured Text (rst)
executable script
Usage
From the command line, use nbconvert to convert a Jupyter notebook (input) to a
a different format (output). The basic command structure is:
$ jupyter nbconvert --to
where
This command creates an HTML output file named mynotebook.html.
Dev Install
Check if pandoc is installed (pandoc --version); if needed, install:
sudo apt-get install pandoc
Or
brew install pandoc
I
|