bpruitt-goddard / vscode-mermaid-syntax-highlight

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

In classDiagram methods: abstract, static and return value are conflicting #70

Closed dtyeos closed 11 months ago

dtyeos commented 2 years ago

image

Note that Mermaid Preview is also sometimes in trouble: image

bpruitt-goddard commented 2 years ago

Are those all valid use cases? In the docs it looks like visibility should be after the method, not the return type.

I think these are valid and currently working:

These are valid but need proper highlighting:

I think the rest are invalid because of either: