mjbvz / vscode-markdown-mermaid

Adds Mermaid diagram and flowchart support to VS Code's builtin markdown preview
https://marketplace.visualstudio.com/items?itemName=bierner.markdown-mermaid
MIT License
630 stars 112 forks source link

Cannot use 3 x backticks to delimit code block; must use `:::`. #239

Closed RokeJulianLockhart closed 5 months ago

RokeJulianLockhart commented 5 months ago
::: mermaid
graph TD;
    A-->B;
    A-->C;
    B-->D;
    C-->D;
:::

...renders as a graph, yet:

```mermaid
graph TD;
    A-->B;
    A-->C;
    B-->D;
    C-->D;
```

...does not.

mjbvz commented 5 months ago

Works fine for me. Are you sure it's not one of your other extensions interfering?

Image

mjbvz commented 5 months ago

Seems like https://github.com/mjbvz/vscode-markdown-mermaid/issues/233#issuecomment-1917942305

RokeJulianLockhart commented 5 months ago

https://github.com/mjbvz/vscode-markdown-mermaid/issues/239#issuecomment-1928616931

I'll check. That's a good idea, @mjbvz. It might take me a while, but I'll get back to you.

RokeJulianLockhart commented 3 months ago

https://github.com/mjbvz/vscode-markdown-mermaid/issues/239#issuecomment-1928636932

It works for me now. I don't know whether I ever ascertained why.