Render automation description as Markdown (#13975)

This commit is contained in:
Franck Nijhof 2022-10-03 19:29:55 +02:00 committed by GitHub
parent c12189b27f
commit ed8b07b7e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,7 +81,11 @@ export class HaManualAutomationEditor extends LitElement {
`
: ""}
${this.config.description
? html`<p class="description">${this.config.description}</p>`
? html`<ha-markdown
class="description"
breaks
.content=${this.config.description}
></ha-markdown>`
: ""}
<div class="header">
<h2 id="triggers-heading" class="name">