Render Mermaid Diagram
Confluence doesn't provide [mermaid.js](https://github.com/mermaid-js/mermaid) support natively. Mark provides a convenient way to enable the feature like [Github does](https://github.blog/2022-02-14-include-diagrams-markdown-files-mermaid/). As long as you have a code block and are marked as "mermaid", the mark will automatically render it as a PNG image and insert into before the code block.
```mermaid title diagrams_example
graph TD;
A-->B;
In order to properly render mermaid, you can choose between the following mermaid providers:
Title says it all.
In order to properly render mermaid, you can choose between the following mermaid providers:
"mermaid-go" via mermaid.go "cloudscript" via cloudscript-io-mermaid-addon