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

Support HTML in Markdown strings. #246

Open RokeJulianLockhart opened 4 months ago

RokeJulianLockhart commented 4 months ago

Per https://github.com/orgs/mermaid-js/discussions/5329#discussioncomment-8646264, this should be possible, yet all I see is “Unsupported Markdown: [code, break, etc.]”.

RokeJulianLockhart commented 4 months ago

https://github.com/mjbvz/vscode-markdown-mermaid/issues/246#issue-2163953175

This also appears at https://github.com/mermaid-js/mermaid-live-editor/issues/1411#issue-2163963447, so like https://github.com/mjbvz/vscode-markdown-mermaid/issues/245#issuecomment-1964280841, this may be better reported at https://github.com/mermaid-js/mermaid/issues/new?assignees=&labels=Status%3A+Triage%2CType%3A+Bug+%2F+Error&projects=&template=bug_report.yml.

mjbvz commented 2 weeks ago

Please share the source text of example diagram that demonstrates the issue

RokeJulianLockhart commented 2 weeks ago

https://github.com/mjbvz/vscode-markdown-mermaid/issues/246#issuecomment-2176919789

@mjbvz, I did provide an example in the linked issues, but I understand you not wanting to trawl through them:

```mermaid
flowchart TD
    test["`*test*<br>`"]
```

which renders as

image

in code-insiders-1.91.0-1718700915.el8.rpm.