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 ClassDiagram render issue #6041

Open
3 tasks done
wey-gu opened this issue Apr 29, 2024 · 0 comments
Open
3 tasks done

Mermaid ClassDiagram render issue #6041

wey-gu opened this issue Apr 29, 2024 · 0 comments

Comments

@wey-gu
Copy link

wey-gu commented Apr 29, 2024

  • Searched existing issues to avoid creating duplicates.

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

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


classDiagram
    Foo "n" -- "1" Project

    style Foo fill:#f7fcf0,stroke:#333,stroke-width:2px;
Loading

When adding style in classDiagram in mermaid(a great feature of typora!), it failed to render, confirmed it's valid and can be live rendered in mermaid dot live...

Screenshots / Screencasts

Screenshot 2024-04-29 at 09 47 22

Sample Markdown File

classDiagram
    Foo "n" -- "1" Project

    style Foo fill:#f7fcf0,stroke:#333,stroke-width:2px;
Loading

Desktop (please complete the following information):

  • OS: macOS 14.4.1 (23E224)

Typora Version
Version 1.8.10 (7132)

Additional context

same error reported here: mermaid-js/mermaid#1428

@wey-gu wey-gu changed the title Mermaid ClassDiagram Mermaid ClassDiagram render issue Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants