-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Open
Labels
Required GroomingNeed discussion before start implementationNeed discussion before start implementationStatus: 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
Using italics in markdown text in flowchart nodes causes the text to be cut off on the right side. This occurs with various fonts I've tested.
Steps to reproduce
You can see in this diagram that the "d" is cut off on the right.
flowchart
A[*word*]
subgraph sub[Subgraph]
B[*word*]
end
A --> B
Screenshots

Code Sample
Setup
- Mermaid version: This issue occurs in the editor on MermaidChart.com and in GitHub Mermaid blocks, so I assume it's whatever the latest version is.
- Browser and Version: Edge 138.0.3351.83
Suggested Solutions
No response
Additional Context
No response
Metadata
Metadata
Assignees
Labels
Required GroomingNeed discussion before start implementationNeed discussion before start implementationStatus: 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