mirror of https://github.com/Lissy93/dashy.git
📝 Adds example of embedding an image (#487)
This commit is contained in:
parent
8dd392ff8b
commit
c9283fc3be
|
@ -1576,6 +1576,14 @@ Or
|
||||||
scriptSrc: 'https://files.coinmarketcap.com/static/widget/currency.js'
|
scriptSrc: 'https://files.coinmarketcap.com/static/widget/currency.js'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
You can also use this widget to display an image, wither locally or from a remote origin.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
- type: embed
|
||||||
|
options:
|
||||||
|
html: '<img src="https://dashy.lan/item-icons/my-image.png" />'
|
||||||
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### API Response
|
### API Response
|
||||||
|
|
Loading…
Reference in New Issue