nb-mermaid

Make mermaid diagrams in your Jupyter Notebook Markdown

install (easy)

pip install nb-mermaid

In the notebook...

%reload_ext mermaid

install (less easy)

git clone -b gh-pages https://github.com/bollwyvl/nb-mermaid.git \
    ~/.ipython/nbextensions/nb-mermaid

activate

In the notebook...

%%javascript
IPython.load_ipython_extensions(["nb-mermaid/nb-mermaid"]);

roadmap

  • nbviewer support (bookmarklet works now!)
  • live editing (a la the mermaid editor)
  • pan/zoom
  • search