-
Notifications
You must be signed in to change notification settings - Fork 615
Open
Description
Describe the bug
When using the example code from the "Tooltip Near" documentation in the D2 Playground, the text inside the tooltip is not visible.
It appears that the newline immediately following the |md syntax is being rendered as a literal empty line. This pushes the actual text ("God has abandoned this pipeline") downwards, causing it to overflow vertically out of the container's visible area.
To Reproduce
Steps to reproduce the behavior:
- Go to https://play.d2lang.com/
- Paste the following code (from official docs:https://d2lang.com/tour/positions/#tooltip-near)
ci-runner
codedeploy: {
tooltip: |md
God has abandoned this pipeline
|
tooltip.near: center-left
}
aws instance
ci-runner -> codedeploy -> aws instance: safe deploy
ci-runner -> aws instance: direct deploy
- Observe that the codedeploy tooltip appears empty or only shows the very top edge of the text.
Get from playground:
Expected:

Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
No status