You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Text renderer does not handle embedded newlines #2622
When rendering to SVG, this appropriately renders to a box with two lines. The text ("ASCII") renderer does not appear to handle the newline specially at all, so the second line ends up outside the box:
┌────┐
│ │
│A
a │
│ │
└────┘
I know there are a lot of control and formatting characters in Unicode, but doesn't it make sense to specially handle at least some of these, such as the humble newline?
Activity
bo-ku-ra commentedon Aug 20, 2025
markdown too
https://play.d2lang.com/?script=SrRSqOZSUEhU0LVTSOKq5UpC5lsp1OSmcCkoKCgoK6Tl5yclFoE5uiAOlAURq-Gq5QIEAAD__w%3D%3D&ascii=1&
alixander commentedon Aug 20, 2025
@bo-ku-ra I would appreciate keeping one issue per issue please, helps me track =)
bo-ku-ra commentedon Aug 20, 2025
the markdown issue in the edge label is a newline issue.(#2622)
the containers' markdown is issue #2616.
https://play.d2lang.com/?script=SrRSqMlN4VJQUFZIy89PSiziUlDQBTHBNIhfwwUIAAD__w%3D%3D&ascii=1&