Description
When rendering an info diagram, only the raw version string v11.12.1 is displayed as plain text. No diagram is rendered. The same happens with info showInfo. The output has no visual container, no styling, and no diagram structure. Just a bare string dumped into the page.
Steps to reproduce
- Create an HTML page that imports Mermaid
- Add a
block with just info
- Add a second block with info showInfo
- Open the page in a browser
- Bug: Both blocks render as unstyled plain text v11.12.1 instead of a diagram
Screenshots
Code Sample
<pre class="mermaid">
info
</pre>
<pre class="mermaid">
info showInfo
</pre>
Setup
- Mermaid version: 11.12.1
- Browser: Microsoft Edge
Suggested Solutions
The info diagram type should render a styled visual panel displaying version metadata — not dump a raw string as plain text into the page body.
Additional Context
No response
Description
When rendering an info diagram, only the raw version string v11.12.1 is displayed as plain text. No diagram is rendered. The same happens with info showInfo. The output has no visual container, no styling, and no diagram structure. Just a bare string dumped into the page.
Steps to reproduce
Screenshots
Code Sample
Setup
Suggested Solutions
The info diagram type should render a styled visual panel displaying version metadata — not dump a raw string as plain text into the page body.
Additional Context
No response