Our Confluence App “Mermaid Charts & Diagrams for Confluence” has a new editor that supports syntax validation.
To prevent syntax error in the Mermaid code, the macro editor now validates the syntax instantaneously and shows a detailed message when a syntax error is detected.

More information