Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mermaid sequenceDiagram generates error #5057

Closed
pstoehr opened this issue Feb 10, 2022 · 1 comment
Closed

Mermaid sequenceDiagram generates error #5057

pstoehr opened this issue Feb 10, 2022 · 1 comment

Comments

@pstoehr
Copy link

pstoehr commented Feb 10, 2022

Describe the bug
An example right from the mermaid documentation generates an error
https://mermaid-js.github.io/mermaid/#/sequenceDiagram

To Reproduce
add

 sequenceDiagram
    actor Alice
    actor Bob
    Alice->>Bob: Hi Bob
    Bob->>Alice: Hi Alice
Loading

to an existing document

Expected behavior
A diagram should be drawn

Screenshots / Screencasts
Bildschirmfoto 2022-02-10 um 16 51 36

Sample Markdown File
error_mermaid.md

Desktop (please complete the following information):

  • Mac OS X 12.2

Typora Version
Version 1.0.5 (6032)

Additional context
Add any other context about the problem here.

@abnerlee
Copy link
Contributor

abnerlee commented Feb 11, 2022

Put into #1661

Currently Typora uses mermaid 8.8,3 which actor is not supported yet, please use participant like https://github.com/mermaidjs/mermaid-gitbook/blob/master/content/sequenceDiagram.md

We will upgrade mermaid dependence from time to time in future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants