Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0cd4fa8

Browse files
committed
add example for downgrading a notebook to v3 in whatsnew
1 parent 0c6a0f7 commit 0cd4fa8

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

docs/source/whatsnew/version3.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,12 @@ Backwards incompatible changes
217217
to read and write notebook files
218218
instead of the deprecated :mod:`IPython.nbformat.current` APIs.
219219

220+
You can downgrade a notebook to v3 via ``nbconvert``::
221+
222+
ipython nbconvert --to notebook --nbformat 3 [notebook]
223+
224+
which will create :file:`notebook.v3.ipynb`, a copy of the notebook in v3 format.
225+
220226
* :func:`IPython.core.oinspect.getsource` call specification has changed:
221227

222228
* `oname` keyword argument has been added for property source formatting

0 commit comments

Comments
 (0)