-
-
Notifications
You must be signed in to change notification settings - Fork 55
Description
Hey, Mermaid is a diagramming tool that adds the ability to make all sorts of charts and graphs and diagrams within Markdown files. One adds a fenced section which defines the diagram in its own domain-specific language:
```mermaid
graph TD;
A-->B;
A-->C;
B-->D;
C-->D;
```
which (even Github!) turns into a diagram:
graph TD;
A-->B;
A-->C;
B-->D;
C-->D;
This seems useful.
At the moment, Sublime support for this is limited to this plugin which relies on mermaid-cli to do its diagram generation. The output is a .png file for each diagram. Your plugin, on the other hand, renders the rest of the markdown but just not these mermaid parts.
Any idea if it would it be possible/worthwhile (or perhaps even easy?) to integrate this with your plugin?
VSCode will give you real-time previews (if you install these:
Markdown Preview Enhanced by Yiyi Wang,
Markdown Preview Mermaid Support by Matt Bierner )
but I'm willing to trade that for PDF generation which Markdown Preview does (Sublime being my preferred editor anyway, even though it seems kind of un-hip these days).
Thanks!