mermaid

.mermaid caption:{String? = null} code:{EvaluableString} -> Node

Creates a Mermaid diagram.

Return

the generated diagram node

Parameters

caption

optional caption. If a caption is present, the diagram will be numbered as a figure.

code

the Mermaid code of the diagram