MW 1.39, Mermaid 3.1.0
I have the following mermaid code in my wiki:
{{#mermaid: stateDiagram-v2 state "My Organization" as myorg state "Alice" as myorg }}
and I would like to style the state. According to: https://mermaid.js.org/syntax/stateDiagram.html I should be able to add:
classDef style1 fill:#f00
and
class myorg mystyle1
..and that should change the background of my state, however, when I try it as:
{{#mermaid: stateDiagram-v2 state "My Organization" as myorg state "Alice" as myorg classDef style1 fill:#f00 class myorg mystyle1 }}
..it causes the mermaid parser function to fail.
Is styling a mermaid stateDiagram-v2 diagram possible?