Mermaid has been popping up in my Github Daily Emails. It is used for "Generation of diagram and flowchart from text in a similar manner as markdown".
In index.html
, a Mermaid diagram is defined within a <div class="mermaid">
. A chuck of Mermaid syntax is place in between the block element. The syntax determines the shape, connections, and text annotating the diagram. Below is some syntax that generates the graph on bl.ocks.org.
<div class="mermaid">
{{{mermaid.graph}}}
</div>
</body>
Fork this gist and create your own diagrams and host them on bl.ocks.org.