mermaid-js / mermaid

Generation of diagrams like flowcharts or sequence diagrams from text in a similar manner as markdown
https://mermaid.js.org
MIT License
71.71k stars 6.5k forks source link

Text color of markdown formatted text should be possible #4980

Open baby-gnu opened 1 year ago

baby-gnu commented 1 year ago

Description

When I try to apply classDef to elements, I have issue with markdown formatted text.

Steps to reproduce

  1. Create a flowchart with two nodes
    1. A markdown formatted node
    2. A normal node
  2. Create a classDef to change text color
  3. Apply classDef to both nodes

Screenshots

mermaid-markdown-formatted-text-broken-style

Code Sample

Example on live develop

Setup

Suggested Solutions

No response

Additional Context

No response

anlai46 commented 11 months ago

Hi! I am new to Mermaid and I think this would be a good first issue to start working on. Can I claim this issue?

yufeiyang-dev commented 6 months ago

Any update on this issue?

anlai46 commented 6 months ago

Hi Yufei Yang,

Thanks for the follow up. I've looked into the issue, but I haven't made significant progress with it. I think it would be better to leave it open for other contributors.