nb-mermaid

Make mermaid diagrams in your Jupyter Notebook Markdown

graph TD here[this page] --> bookmarklet(use bookmarklet) bookmarklet --> make here --> pip(pip) here --> clone pip --> installed clone(clone) --> installed clone --> fork(fork) fork --> profit((profit)) make(make diagrams) --> profit installed --> make

see more examples

test drive

drag this nb-mermaid bookmarklet to your bookmark bar, and click to use live on tmpnb.org ... or your own, local notebooks

install (easy, IPython-integrated)

pip install nb-mermaid 
%reload_ext mermaid

install (less easy, Jupyter)

git clone -b gh-pages \
  https://github.com/bollwyvl/nb-mermaid.git \
  ~/.ipython/nbextensions/nb-mermaid
%%javascript
IPython.load_ipython_extensions([
  "nb-mermaid/nb-mermaid"
]);

code

GitHub Repo

license

BSD