Mermaid charts don’t render on published pages

Now mermaid chart does not display in publish link
domain.com/pub/path-to-post

Sometimes I publish a post, but chart just display like a code

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?

Yep. Plugin seems not be a best solution.
So I change to use by theme component:

Do you have any roadmap for this?