Markdown Card: User Variable (#12614)

* User markdown

* Undo line changes

* add space
This commit is contained in:
Zack Arnett 2020-04-01 14:35:25 -04:00 committed by GitHub
parent 1b1506cecb
commit e71fd7c5a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,3 +81,18 @@ card:
```
{% endraw %}
A special template variable - `user` is set up for the `content` of the card. It contains the currently logged in user.
For example:
{% raw %}
```yaml
type: markdown
content: |
Hello, {{user}}
```
{% endraw %}