mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-24 01:37:23 +00:00
Add example icon for markdown card (#15732)
This commit is contained in:
parent
036501b689
commit
7a569a34d5
@ -100,3 +100,19 @@ content: |
|
|||||||
```
|
```
|
||||||
|
|
||||||
{% endraw %}
|
{% endraw %}
|
||||||
|
|
||||||
|
## Icons
|
||||||
|
|
||||||
|
You can also use [materialdesignicons.com]() icons in the `content` of the card.
|
||||||
|
|
||||||
|
For example:
|
||||||
|
|
||||||
|
{% raw %}
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
type: markdown
|
||||||
|
content: |
|
||||||
|
<ha-icon icon="mdi:home-assistant"></ha-icon>
|
||||||
|
```
|
||||||
|
|
||||||
|
{% endraw %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user