mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-22 00:36:49 +00:00
Added description for markdown in persistent notifications (#5124)
* Added markdown description for persistent_notification * Minor change
This commit is contained in:
parent
4eecf3fc87
commit
572f001f5b
@ -55,6 +55,26 @@ action:
|
||||
notification_id: "1234"
|
||||
```
|
||||
|
||||
|
||||
### {% linkable_title Markdown support %}
|
||||
|
||||
The message attribute supports the [Markdown formatting syntax](https://daringfireball.net/projects/markdown/syntax). Some examples are:
|
||||
|
||||
| Type | Message |
|
||||
| ---- | ------- |
|
||||
| Headline 1 | `# Headline` |
|
||||
| Headline 2 | `## Headline` |
|
||||
| Newline | `\n` |
|
||||
| Bold | `**My bold text**` |
|
||||
| Cursive | `*My cursive text*` |
|
||||
| Link | `[Link](https://home-assistant.io/)` |
|
||||
| Image | `` |
|
||||
|
||||
<p class="note">
|
||||
`/local/` in this context refers to the `.homeassistant/www/` folder.
|
||||
</p>
|
||||
|
||||
|
||||
### {% linkable_title Create a persistent notification %}
|
||||
|
||||
Choose <img src='/images/screenshots/developer-tool-services-icon.png' alt='service developer tool icon' class="no-shadow" height="38" /> **Services** from the **Developer Tools** to call the `persistent_notification` service. Select `persistent_notification/create` from the list of **Available services:** and enter something like the sample below into the **Service Data** field and hit **CALL SERVICE**.
|
||||
|
Loading…
x
Reference in New Issue
Block a user