Skip to content

Commit

Permalink
Update mermaid to v11 (#31913)
Browse files Browse the repository at this point in the history
Update mermaid to
[v11](https://github.com/mermaid-js/mermaid/releases/tag/v11.0.0) and
enable the new [`suppressErrorRendering`
option](mermaid-js/mermaid#4359) to ensure
mermaid never renders error elements into the DOM (we have per-chart
error rendering, so don't need it). Tested various chart types.

BTW, I was unable to reproduce that error rendering from mermaid with
`suppressErrorRendering: false` and I thought we had some CSS to hide
the error element, but I could not find it, not even in git history.
  • Loading branch information
silverwind authored Aug 25, 2024
1 parent 725a3ed commit 40395ce
Show file tree
Hide file tree
Showing 3 changed files with 211 additions and 660 deletions.
Loading

0 comments on commit 40395ce

Please sign in to comment.