Mermaid is a Light Table plugin that generates diagrams and flowcharts from text using mermaid.
Install this plugin with LT's plugin manager or clone this project to your LT plugins directory.
Open a new file Cmd-n
and execute the Mermaid command to watch your file and open a live tab. Any text you type
is watched and automatically generates a diagram in the live tab.
See the Mermaid readme for the different kinds of diagrams you can make.
This is currently using mermaid 0.2.12.
Please report them on github.
- Add a command to export generated svg based on http://bl.ocks.org/mbostock/6466603. Contribution most welcome as this method seems to lose a lot of styling.
See LICENSE.txt
- Thanks to @cognitect for open source fridays!