bpruitt-goddard / vscode-mermaid-syntax-highlight

Markdown syntax support for the Mermaid charting language
MIT License
92 stars 35 forks source link

Support Entity Name Aliases (v10.5.0+) in ER diagram #142

Open Nobuho opened 1 month ago

Nobuho commented 1 month ago

Thank you for the great add-on. I would like to make a request for improvement. Could you please support Entity Name Aliases (v10.5.0+) in ER diagram? Thank you.

Mermaid.org: https://mermaid.js.org/syntax/entityRelationshipDiagram.html?_sm_au_=iVVJFmNst0H0WZq3jCptWK7c0B0JC#entity-name-aliases-v10-5-0

Mermaid Example:

erDiagram
    p[Person] {
        string firstName
        string lastName
    }
    a["Customer Account"] {
        string email
    }
    p ||--o| a : has

Current syntax highlights: image