bpruitt-goddard / vscode-mermaid-syntax-highlight

Markdown syntax support for the Mermaid charting language
MIT License
98 stars 37 forks source link

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

Closed Nobuho closed 2 weeks ago

Nobuho commented 2 months 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

bpruitt-goddard commented 2 weeks ago

This is fixed in the latest version 1.6.7:

image