Blueprint input description markdown/multi-line support

Hello,

It would be very nice if we could add support for Markdown syntax in the Blueprints inputs description.

Since, for some time now, I have been creating Blueprints for my repetitive automations. As a result, I now have some interesting Blueprints in my instance that I would like to share. But some fields in these Blueprints are rather complex to understand and therefore make sharing a bit complicated.

It is complicated to properly explain how an input works since the description of an input is only plain text (does not even support multiple lines), unlike the title of a Blueprint which can use Markdown and multi-line.

I’m sure that several Blueprints including mines would take advantage of this feature to clarify the description of certain inputs that are more complex to understand for an average user.

Update:

I have already built a functional version of this feature on my DEV environment. If you want, you can go see the pull request on the Github of Home Assistant Frontend.

I am also currently confused by the markdown in description. I have tried adding a code block and horizontal rules to no success. The documentation says that description supports markdown. Has anyone else gotten this to work?

The documentation says that description supports markdown

Indeed, the documentation says that the blueprint description supports Markdown.

But for the inputs descriptions, the documentation doesn’t talk about Markdown.

This is why I’m making this post.

I would like to get this feature added. I have already built a functional version of this feature on my DEV environment. If you want, you can go see the pull request on the Github of Home Assistant Frontend.

This has now been added (2022.5) to Automation Blueprints but strangely not to script blueprints.
Perhaps there could be someone with the knowledge to help with this?

Yeah I know, I’m the one that added it :wink: , But thanks!

  • @sisimomo added Markdown support to Blueprint input descriptions, allowing you to add links to, for example, documentation in your Blueprints.
3 Likes

Ahh, awesome. Thanks for that, I’m using it, but my script blueprints are oh, so lonely…

1 Like

Don’t know if it has changed since, but as of HA 2022.5.4, markdown works for me in the main Blueprint Script description, but does not work in the description of individual selectors.

It has always worked in the main description, both places. I have not tried in a few weeks, but the only place it doesn’t work is the script input descriptions, which was what Sisimomo added for the Automation Blueprints.