In .gitroot/plugins.yml of your root repository add:
1- url: https://gitroot.dev/releases/0.4.0/apex_mermaid-0.0.1.wasm
2 checksum: sha256:666c962bd3564b4cfb7f2c2d3548de88425f576aec728b703b4a1a15ddb9204e
Apex_mermaid convert mermaid script into html (svg).