File tree 2 files changed +14
-2
lines changed
packages/docs/src/content/docs
2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -113,8 +113,8 @@ Or locally:
113
113
- [x] [ JS package] ( https://github.com/terrastruct/d2/discussions/234#discussioncomment-11286029 )
114
114
- [x] [ Export JSON graph] ( https://github.com/terrastruct/d2/discussions/2224 )
115
115
- [x] [ support ` import ` ] ( https://github.com/terrastruct/d2/issues/2301 )
116
+ - [ ] [ d2js: Additional render options] ( https://github.com/terrastruct/d2/pull/2343 ) , like ` pad `
116
117
- [ ] [ Class-based dark mode] ( https://github.com/terrastruct/d2/pull/1803 )
117
118
- [ ] [ Remove embeded fonts] ( https://github.com/terrastruct/d2/discussions/132 )
118
119
- [ ] [ Smaller embeded icons] ( https://github.com/terrastruct/d2/discussions/2223 )
119
- - [ ] [ d2js: full options args] ( https://github.com/terrastruct/d2/issues/2297 ) , like ` pad `
120
- - [ ] Link resolution callback
120
+ - [ ] Why images and icons don't work with ` file ` strategy?
Original file line number Diff line number Diff line change @@ -4,6 +4,18 @@ title: d2 test
4
4
5
5
## Interesting ones
6
6
7
+ ### Image/icon
8
+
9
+ ``` d2 strategy=inline darkScheme=false
10
+ my network: {
11
+ icon: https://icons.terrastruct.com/infra/019-network.svg
12
+ }
13
+ github: {
14
+ shape: image
15
+ icon: https://icons.terrastruct.com/dev/github.svg
16
+ }
17
+ ```
18
+
7
19
### Interactive example
8
20
9
21
``` d2 strategy=inline darkScheme=false graphFormat=dagre class=shadow svgo=false
You can’t perform that action at this time.
0 commit comments