📝 Adds example of embedding an image (#487)

This commit is contained in:
Alicia Sykes 2022-02-13 19:01:40 +00:00
parent 8dd392ff8b
commit c9283fc3be
1 changed files with 8 additions and 0 deletions

View File

@ -1576,6 +1576,14 @@ Or
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