4 ms·
I thought your playground wasn't working as it renders black text on black background. Maybe I have darkmode enabled or something. Other renderers work, but asc
by rng-concern 1y ago
I thought your playground wasn't working as it renders black text on black background. Maybe I have darkmode enabled or something. Other renderers work, but ascii is invisible.
- alixanderwang 1y agoAh right, forgot to test the update with dark mode. Thanks for letting me know! edit: fixed
- mmastrac 1y agoDoes 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 https://github.com/mmastrac/stylus)
- alixanderwang 1y agoYeah I think what you're looking for is the note at the end of this section: https://d2lang.com/tour/exports/#svg 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!