-
Notifications
You must be signed in to change notification settings - Fork 491
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
icon not rendered #354
Comments
does it work in --watch? the current version embeds the URLs, so they are only viewable in a browser environment, but won't for example, in an embedded one. we added a |
actually i'll keep this open until we verify with you that the new version works |
I have seen the same with |
Just build the |
@schoenenberg there was a regression where local images weren't working (#889), which is fixed and will be in the next release (should be today!). but it shouldn't affect icons locally. can you copy paste your script? |
@alixander sure. See below:
|
yeah this looks fine on playground. it's just that exports in playground don't bundle the images for PNG, that's a separate issue: terrastruct/d2-playground#17 . but it should be perfectly fine run on CLI. ty @schoenenberg |
When I output png and svg samples of the document, the icons were not rendered correctly.
https://d2lang.com/tour/icons
test.d2
test.svg
test.png
The text was updated successfully, but these errors were encountered: