Mermaid is a markdown language for drawing diagrams based on text
This component will interpret all of the text indented underneath it - and - if it is formatted correctly, will render a mermaid diagram
Note -- it does not play nicely with other features of Roam -- like Block References or Bidirectional Links - if you want to have the elements of you diagram be links you can click - or to include images or other richly formatted blocks - use the native Roam Diagrams which are also more point and click interactive
gantt
title A Gantt Diagram
dateFormat YYYY-MM-DD
section Section
A task :a1, 2014-01-01, 30d
Another task :after a1 , 20d
section Another
Task in sec :2014-01-12 , 12d