Mermaid-Chart/vscode-mermaid-preview

create participant is not supported

Opened this issue · 0 comments

Expected behaviour

sequenceDiagram
Alice->>Bob: Hello Bob, how are you ?
Bob->>Alice: Fine, thank you. And you?
create participant Carl
Alice->>Carl: Hi Carl!

Actual behaviour

The addition of the create participant line results in "diagram is not syntactically correct" message in preview pane. This syntax comes directly from this link: https://mermaid.js.org/syntax/sequenceDiagram.html

Note that using the mermaid markdown clause in this issue report resulted in an error as well, so I removed that and just put the raw mmd text above.

Include:

image
image

  • Preview mode: Mermaid|Markdown // not sure where this is specified? Just installed extension fresh, using defaults.
  • Theme used: dark