Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect Linking with multiple d2 files #2104

Closed
rutvora opened this issue Sep 17, 2024 · 1 comment · Fixed by #2105
Closed

Incorrect Linking with multiple d2 files #2104

rutvora opened this issue Sep 17, 2024 · 1 comment · Fixed by #2105

Comments

@rutvora
Copy link

rutvora commented Sep 17, 2024

main.d2

...@test

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)
image

@alixander
Copy link
Collaborator

ty @rutvora

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants