@jcoglan not a frequent obsidian user, maybe there's some config for this?
coincidentally, I just slop-coded a python static file server that live renders markdown+mermaid in the browser. It doesn't have embedded mermaid (inside md) support yet, but if you think you could use it I'll publish it sometime today.