main.d2
test.d2
elem: elem {
link: https://google.com
}
I am running this as d2 -w -p 8080 main.d2
As you see in the bottom left of this image, the link is (incorrect) localhost:8080/test1.svg instead of (correct) https://google.com
EDIT: Note that my mouse pointer is hovering over elem (which is not shown in the screenshot)
