mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-22 16:56:50 +00:00
Add example icon for markdown card (#15732)
This commit is contained in:
parent
036501b689
commit
7a569a34d5
@ -99,4 +99,20 @@ content: |
|
||||
Hello, {{user}}
|
||||
```
|
||||
|
||||
{% 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