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
640 stars 115 forks source link

Error handling feature request: display errors inline #157

Closed jcmrva closed 1 year ago

jcmrva commented 1 year ago

Fantastic extension! I've only been using it a couple days and I'm already looking for reasons to add diagrams to my docs.

When there's a syntax error in the Mermaid markup, would it be possible to display an error in the same location the output appears in the preview panel? Looks like output is appended at the bottom right now. Even better would be inline with the markup, if possible.

jcmrva commented 1 year ago

Nice, thanks for getting to this quickly.