typora-issues icon indicating copy to clipboard operation
typora-issues copied to clipboard

All the mermaid cannot be rendered on MacOS

Open shadyBugs opened this issue 1 year ago • 4 comments

  • [x] Searched existing issues to avoid creating duplicates.

  • [x] 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.

  • [x] 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

shadyBugs avatar Mar 01 '24 10:03 shadyBugs

May relates to macOS BigSur

Please try use 1.7 or 1.6 (https://typora.io/releases/all) as a workaround

abnerlee avatar Mar 04 '24 07:03 abnerlee

I tried 1.7.6 and it works. Will you try to solve it and adapt BigSur in the new version?

shadyBugs avatar Mar 04 '24 07:03 shadyBugs

My late 2013 MacBook Pro is running Big Sur (11.7.10), mermaid diagrams do not work in the latest version of Typora (1.8.10). I rolled back to 1.4.8 and mermaid diagrams work, they work in 1.7.6 as well. I would love to be able to use mermaid on the latest version of Typora.

ProfBird avatar Mar 06 '24 04:03 ProfBird

My Typora(1.8.10) can‘t render mermaid on MacOS Catalina 10.15.7, could you provide a solution to this problem?Thanks.

My situation image

EthanLiu6 avatar Apr 16 '24 13:04 EthanLiu6