This repo has code for converting Zeppelin notebooks to Jupyter's ipynb format.
To convert a notebook, run:
python jupyter-zeppelin.py note.json
This will create a file named using the Zeppelin note's name in the current directory. Alternatively, you can pass an output path:
python jupyter-zeppelin.py note.json Example.ipynb
This converter supports the following Zeppelin conventions:
- Code paragraphs are converted to code cells
%mdparagraphs are converted to Jupyter markdown cells%htmlparagraphs are converted to Jupyter code cells using cell magic%%html%sqlparagraphs are converted to Jupyter code cells using cell magic%%sql- Paragraphs with unknown magics are converted to raw cells
- TEXT output is converted to
text/plainoutput - HTML output is converted to
text/htmloutput; some style and JS may not work in Jupyter - TABLE output is converted to simple
text/htmltables%htmltable cells are embedded in the table HTML- Normal table cells are escaped and then embedded in the table HTML