Code warning

I’m constantly seeing code warnings when I try to post, even with text and an image of the code I’m looking for help on. How do I avoid this please?

If it’s actually a code block, make sure to place 3 back ticks ``` on their own line at the beginning and end of the code block. For shorter sections like entity ID’s, you can use a single back tick immediately before and after (like you would use quotes).

However, the forum software thinks almost everything is code… pretty much any non-standard punctuation can trigger the warning this includes the following: >, <, ..., \, /, -, _, =, +, etc. If you’ve checked your post and all the actual code is properly formatted, just ignore the warning and click post anyway.

Thanks, but how do I circumvent it? I spent a couple of hours yesterday and today trying to post a query.

Seems to be an issue for people using incognito mode:

https://community.home-assistant.io/t/solved-unformatted-code-warning/654086

1 Like