Mermaid charts don’t render on published pages

From what I know published pages aren’t compatible with the mermaid theme component.

To confirm though, you are using that and not the plugin?