##// END OF EJS Templates
Created new notebook magic that can export/convert notebooks....
Created new notebook magic that can export/convert notebooks. * %notebook --export foo will export the current IPython history to a file foo.ipynb. * %notebook --format=json foo.ipynb will convert foo.ipynb to foo.json.

File last commit:

r4406:0251893c
r4520:46fc6462
Show More
convert.py
5 lines | 117 B | text/x-python | PythonLexer
def convert_to_this_nbformat(nb, orig_version=None):
raise ValueError('Cannot convert to v1 notebook format')