...
The Mermaid code can be added as macro body and the macro is rendered after publishing /updating the page.
...
Mermaid diagram configuration
When rendering the Mermaid code we automatically apply some Mermaid configurations for specific diagram types which are documented below.
Architecture diagram
The Iconify icon pack “logos” is included when rendering architecture diagrams and the icons are available under the prefix “logos” (see https://mermaid.js.org/syntax/architecture.html#icons).