Skip to content

Commit

Permalink
📝 Adds example of embedding an image (gchq#487)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lissy93 committed Feb 13, 2022
1 parent 8dd392f commit c9283fc
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/widgets.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c9283fc

Please sign in to comment.