Working with Jupyter notebooks
Weaving from Jupyter notebooks
weave("notebook.ipynb") # will be weaved to HTML
!!! warning You can't use chunk options with notebooks.
Output to Jupyter notebooks
You can specify
jupyter used to execute the notebook with the
jupyter_path keyword argument
(this defaults to the
"jupyter", i.e. whatever you have linked to that location).
Instead, you might want to use the
convert_doc method below and run the code in Jupyter.
Converting between formats
You can convert between all supported input formats using the
To convert from script to notebook:
and from notebook to Markdown use: