Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support mermaid #18

Open
BenjaBobs opened this issue Jun 19, 2019 · 1 comment
Open

Support mermaid #18

BenjaBobs opened this issue Jun 19, 2019 · 1 comment

Comments

@BenjaBobs
Copy link

Mermaid is a text-to-diagram library that is very useful for writing up flow charts or class diagrams or what not.

Markdown-it has some plugins that add support for the mermaid tag, e.g.

graph TD
    A[Christmas] -->|Get money| B(Go shopping)
    B --> C{Let me think}
    C -->|One| D[Laptop]
    C -->|Two| E[iPhone]
    C -->|Three| F[Car]
Loading

Renders to this:
image

Example:
https://mermaidjs.github.io/mermaid-live-editor/

A possible implementation:
https://www.npmjs.com/package/markdown-it-mermaid

@vid
Copy link

vid commented Oct 23, 2020

Support for Mermaid would be a Big Deal in this extension for complex projects. Thanks for your consideration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants