Steps to reproduce
Try to render the following, copied directly from the mermaid.js site:
sequenceDiagram
participant Alice
participant Bob
Alice->>John: Hello John, how are you?
loop Healthcheck
John->>John: Fight against hypochondria
end
Note right of John: Rational thoughts prevail!
John-->>Alice: Great!
John->>Bob: How about you?
Bob-->>John: Jolly good!
Expected result
I expect to see a valid mermaid diagram as per the mermaid.js site. I have also tested this on other mermaid-enabled platforms, and it works.
Actual result
Error parsing Mermaid diagram!
Parse error on line 8:
… end Note right of John: Ratio
---------------------^
Expecting ‘over’, ‘left_of’, ‘right_of’, got ‘ACTOR’
Additional information
It looks to me like mermaid is being invoked, and maybe it’s just a version problem. If I remove the Note
, it works, but notes are valid mermaid constructs.