Merge pull request #6855 from mermaid-js/sidv/showRawData

fix: fallback to raw text instead of rendering *Unsupported markdown*
This commit is contained in:
Alois Klink
2025-08-14 11:01:58 +00:00
committed by GitHub
4 changed files with 41 additions and 2 deletions

View File

@@ -0,0 +1,9 @@
---
'mermaid': patch
---
fix: fallback to raw text instead of rendering _Unsupported markdown_ or empty blocks
Instead of printing **Unsupported markdown: XXX**, or empty blocks when using a markdown feature
that Mermaid does not yet support when `htmlLabels: true`(default) or `htmlLabels: false`,
fallback to the raw markdown text.