Text after Mermaid graph not displaying

I am not seeing text after my mermaid graph display in the tiddlers. Here is an example tiddler of type “txt/vnd.tiddlywiki”.

<$mermaid text="
graph TD
A(1) -->B(2)
A --> C(2)
B --> D(3)
B --> E(#)
C --> F(#)
C --> G(3)
"><$mermaid>

This does not display

Tiddlywiki version was 5.1.2.3. Upgraded to 5.2.3. The problem remains.
Mermaid-TW5 upgraded to latest from @efurlanm. Based on mermaid.js 9.1.1.
OS: Windows 10 Pro
Browser: Chrome

Please suggest how to display the text after the graph.

The second <$mermaid> should be </$mermaid> so it signals the end of the $mermaid widget.

Otherwise, the text that follows is considered to be a part of the $mermaid content, and thus does not get displayed as intended.

-e

1 Like

:astonished: Thanks for catching that. :+1:

This is something that a simple code highlighter should make clear.