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

Language request: Mermaid #1016

Open
spenserblack opened this issue Jul 12, 2023 · 0 comments
Open

Language request: Mermaid #1016

spenserblack opened this issue Jul 12, 2023 · 0 comments

Comments

@spenserblack
Copy link
Contributor

Docs

https://mermaid.js.org

Example

```mermaid
---
title: My Diagram
---
erDiagram
    %% This is a comment
    Language {
        string name pk
        string[] extensions
    }
    Tokei ||--|{ Language : supports
    User }|--|{ Language : "writes in"
```
---
title: My Diagram
---
erDiagram
    %% This is a comment
    Language {
        string name pk
        string[] extensions
    }
    Tokei ||--|{ Language : supports
    User }|--|{ Language : "writes in"

Info

  • The extensions are .mmd and .mermaid.
  • Comments start with %%, although, as you can see in the example, Mermaid can have YAML front-matter, which could have comments that start with #.
  • The language can, and often is, embedded in Markdown (see this issue, too 😉)
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

1 participant