bpruitt-goddard / vscode-mermaid-syntax-highlight

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

Fix Case Insensitive Code Block Declaration #123

Closed bpruitt-goddard closed 10 months ago

bpruitt-goddard commented 10 months ago

Fixes #120. To be consistent with other markdown language declarations, make the mermaid declaration case insensitive. This expands slightly from the referenced issue by allowing the whole word to be case-insensitive, which is how it behaves with other languages:

image

Screenshot demonstrating the change across the three declaration types, note the casing of mermaid:

image