Mermaid in Collectives

The app should also support Mermaid in the latest version. But for me the graphic is not displayed. I have inserted the commands in a code block.

No, Mermaid is not in the latest version. This will come with Nextcloud 27.1:

Also see the current milestone for Nextcloud 27.1: