Welcome to the Home Assistant Community!

How to help us help you - or How to ask a good question

When posting logs or configuration snippets please use code blocks and syntax highlighting.

For quick highlighting of code (YAML, JSON, basically anything that could even remotely be considered “code”) or logs do this to properly format it:

2 Likes

Is there a link we can refer to for users who would have dismissed without reading?

You mean for formatting?

Yeah, very often I start my answer with something like" Can you use the blue bar on top of the page to format your code pls"
If the user removed the bar, it’s not there.
If there was an easy way (bit.ly link maybe) to point to a simple page showing how to format code, maybe an animated gif since people don’t like to read?

I’ve been using one of those for several months that I created that seems to be well received:

feel free to borrow it if you want.

3 Likes

Brill.
Created a bit.ly link for it: bit.ly/HAForumCode

cool! thanks!

Added to message, thanks!

2 Likes

Now that we have the code formatting modal when someone tries to submit a post with unformatted code, I’ve gone ahead and removed this as the banner. Thanks @cgtobi for your work on this!