bpruitt-goddard / vscode-mermaid-syntax-highlight

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

No highlight within the order #86

Closed freshchild closed 11 months ago

freshchild commented 2 years ago

Like this:

image

Text (added a % in line 4):

```mermaid
flowchart LR
    id1([":)"])
%```

1. test

    ```cpp
    #include <complex>
```cpp
#include <complex>
```

```mermaid
flowchart LR
    id1([":("])
```

```cpp
#include <complex>
```
piranna commented 1 year ago

Same issue here. How can we help on this?

bpruitt-goddard commented 1 year ago

I haven't had a chance to investigate this yet, but it is most likely an issue with the declaration of the markdown codeblocks here if you wanted to take a look.

bpruitt-goddard commented 11 months ago

I'm not sure which fix solved this, but I'm seeing it work properly now. Both mermaid and C++ are rendering their syntax highlighting:

image