mermaid icon indicating copy to clipboard operation
mermaid copied to clipboard

Text color of markdown formatted text should be possible

Open baby-gnu opened this issue 1 year ago • 3 comments

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

  • Mermaid version: live develop
  • Browser and Version: Chromium 118.0.5993.70-1 , Firefox 118.0.2-1

Suggested Solutions

No response

Additional Context

No response

baby-gnu avatar Oct 23 '23 10:10 baby-gnu

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?

anlai46 avatar Nov 27 '23 23:11 anlai46

Any update on this issue?

yufeiyang-dev avatar Apr 23 '24 04:04 yufeiyang-dev

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.

anlai46 avatar Apr 23 '24 05:04 anlai46