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
672 stars 124 forks source link

Elk not working #287

Closed schehlmj closed 2 weeks ago

schehlmj commented 1 month ago

This is not rendering in elk as it should be:

```mermaid
%%{init: {"flowchart": {"defaultRenderer": "elk"}} }%%
flowchart TD
    C{Let me think}
    C -->|One| D[Laptop]
    C -->|Two| E[iPhone]
    C -->|Three| F[fa:fa-car Car]
```

The mermaid.live editor works as expected:

Mermaid-Elk-issue

worbunkel commented 1 month ago

PR #288 fixes this

mjbvz commented 2 weeks ago

Fixed by #288