Skip to content

All the mermaid cannot be rendered on MacOS #5993

@shadyBugs

Description

@shadyBugs
  • Searched existing issues to avoid creating duplicates.

  • Confirmed that it can be reproduced in built-in themes without customized css.

    If it only exists in 3rd party themes or css, you can still report it, but please attach the theme target or the css file. We may not "fix" it, if it is caused by 3rd party themes or css styles that we cannot support.

  • Searched http://support.typora.io/


Describe the bug
After I upgraded my Typora from 1.0.5 to 1.8.10, all my mermaid diagrams cannot be rendered.
When I open an existed mermaid file, nothing shows up, including my mermaid code, diagram or any error tips.
When I create a new file and add a new mermaid code, It gets stuck and shows "Painting Diagram..." all the time.

To Reproduce
I don't know if this occurs on everybody's pc.
It works well on typora 1.0.5 and doesn't work on 1.8.10.
And it works still well after rollback my typora to 1.0.5.

Expected behavior
Mermaid diagram show as I expected

Screenshots / Screencasts
image
image

Sample Markdown File

sequenceDiagram 
Alice->Bob: Hello Bob, how are you?
Note right of Bob: Bob thinks
Bob-->Alice: I am good thanks!

This mermaid code work well on my VsCode

Desktop (please complete the following information):
MacBook Pro (16-inch, 2019)
OS: maxOS BigSur 11.4
CPU: Intel Core i7

Typora Version
1.8.10

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions