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

SVG linking #1035

Closed
alixander opened this issue Mar 15, 2023 · 0 comments · Fixed by #1116
Closed

SVG linking #1035

alixander opened this issue Mar 15, 2023 · 0 comments · Fixed by #1116

Comments

@alixander
Copy link
Collaborator

alixander commented Mar 15, 2023

transform the path names into file paths

implementation details:

  • the simplest way is to add a step between compiling and exporting and change the links.
  • after compilation, the objects have Link attributes.
  • We can find those boards, get the path that they'll be when exported, and replace the link attribute with that path
  • Then export will use tags to make them clickable to that file
@cyborg-ts cyborg-ts added this to D2 Mar 15, 2023
@alixander alixander changed the title CLI linking SVG linking Mar 15, 2023
@alixander alixander mentioned this issue Mar 31, 2023
@github-project-automation github-project-automation bot moved this to Done in D2 Mar 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant