Mermaid-Chart/vscode-mermaid-preview

Nested state comments not working

Opened this issue · 1 comments

Expected behaviour

file.mmd

stateDiagram-v2
  alice --> bob: Hello bob, how are you?
  bob --> state2
  state state2 {
    %% comments set as separate states
    bob1 --> alice2: I am good thanks!
  }
Loading

Actual behaviour

Screenshot 2023-04-01 at 16 28 39

Include:

  • Screenshot
  • Preview mode: Mermaid|Markdown
  • Theme used: light|dark

I also run into this with class diagrams, but not quite the same output
image
image