-
-
Notifications
You must be signed in to change notification settings - Fork 8.4k
Open
Labels
Graph: FlowStatus: ApprovedIs ready to be worked onIs ready to be worked onType: Bug / ErrorSomething isn't working or is incorrectSomething isn't working or is incorrect
Description
Description
When I write a graph with a node whose label contains an equation, it seems impossible to add manual linebreaks to the text, regardless of whether you try to put them inside the equation or outside it.
Steps to reproduce
Screenshots
Code Sample
graph TD
plain["line 0
line 1"]
markdown["`line 0
line 1`"]
plainmath["line 0
line 1
$$x=42$$
line 2"]
markdownmath["`line 0
line 1
$$x=42$$
`"]
Setup
- Mermaid version: v11.12.0
- Browser and Version: Safari 26.1
Suggested Solutions
No response
Additional Context
No response
Metadata
Metadata
Assignees
Labels
Graph: FlowStatus: ApprovedIs ready to be worked onIs ready to be worked onType: Bug / ErrorSomething isn't working or is incorrectSomething isn't working or is incorrect