Mermaid-Chart / vscode-mermaid-preview

Previews Mermaid diagrams
MIT License
148 stars 16 forks source link

create participant is not supported #119

Open jeffbromberger opened 6 months ago

jeffbromberger commented 6 months ago

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