Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow template widgets to render as HTML for formatting #1260

Merged
merged 1 commit into from Dec 27, 2020

Conversation

dshokouhi
Copy link
Member

@dshokouhi dshokouhi commented Dec 27, 2020

Summary

Fixes: #805 but instead of markdown we will render as HTML to better match the rest of the application like HTML formatted notifications. The formatting will also render as a user builds the template so they can see what it can look like.

Example:

This is a <b><span style="color: red">HTML</span></b> <i>text</i><br><br>This is a text after a <h1>new</h1> <h3>line</h3>

Screenshots

image

image

image

Link to pull request in Documentation repository

Documentation: home-assistant/companion.home-assistant#419

Any other notes

@JBassett JBassett merged commit 3062739 into home-assistant:master Dec 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow text formatting via Markdown in Template widget
3 participants