Y
Hacker News
new
|
ask
|
show
|
jobs
by
mmastrac
296 days ago
Does the SVG renderer support custom IDs and/or attributes on nodes? If so I'll add support for this to Stylus (
https://github.com/mmastrac/stylus
)
1 comments
alixanderwang
296 days ago
Yeah I think what you're looking for is the note at the end of this section:
https://d2lang.com/tour/exports/#svg
Feel free to make a PR to d2/d2-docs to include it in our list of community tools/plugins if you do!
link
Feel free to make a PR to d2/d2-docs to include it in our list of community tools/plugins if you do!