bpruitt-goddard / vscode-mermaid-syntax-highlight

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

Highlighting doesn't work in <div class="mermaid"></div> #106

Closed den-gr closed 4 months ago

den-gr commented 1 year ago

My github jekyll web site theme does not support html attributes so I can not use this syntax:

```mermaid {#class_context, align="center"}
classDiagram
class A
class B
A --> B
B --> C

But another syntax works:
classDiagram class A class B A --> B B --> C


However, with this syntax the extension highlighting doesn't work
bpruitt-goddard commented 5 months ago

This might have been recently fixed, can you try again. I am seeing it work properly when the file is set to markdown: image