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
633 stars 114 forks source link

Mindmap does not render and breaks other graphs rendering #201

Closed pawelma closed 1 year ago

pawelma commented 1 year ago

Hey. I've browsed this issue https://github.com/mjbvz/vscode-markdown-mermaid/issues/153 and according to it mindmap rendering should work now, but it does not on my local setup. Other graphs are working fine, until I try to render mindmap: example:

image

But with mindmap it does not work

image

Mindmap on its own does not render as well. The Piece of code from example:

    ```mermaid
    mindmap
        root((mindmap))
            Origins
            Research
            Tools

In the mentioned thread there were some 'security' info, but I tried to reinstall and restart extension and dialog never appeared.
I can share more details if needed.

I noticed the spinner github logo, in the bottom left corner, so maybe it's related. It's not there when no mermaid mindmap declaration. 

---

Markdown Preview Mermaid version: `1.18.1`

VS Code version:

Version: 1.78.2 (Universal) Commit: b3e4e68a0bc097f0ae7907b217c1119af9e03435 Date: 2023-05-10T14:44:45.204Z (2 wks ago) Electron: 22.5.2 Chromium: 108.0.5359.215 Node.js: 16.17.1 V8: 10.8.168.25-electron.0 OS: Darwin arm64 22.4.0 Sandboxed: Yes

pawelma commented 1 year ago

Sorry, I'm closing, unrelated to this library, it's an issue with Markdown Preview enchanced, that I had installed as well and probably had a higher precedence.