Hi, there is invisible XML block below.
Here is the end of XML block.
Hi, there is invisible XML block below.
Here is the end of XML block.
This is by design, and how Markdown worksā¦ put it in a code block unless you want it to be interpreted as illegal non-whitelisted html.
Though I expected this behavior, I would like to have a small warning during posting like this: āYour message contains a code, consider to put it in a code block using triple back quotes (unless ā¦)ā
This is a pretty enormous problem. I do not see Discourse core adding such a feature for āautomatic code block missingā warning. Not sure if even Stack Overflow do this.
But ā¦ it is an interesting idea for a plugin, which would have to use some very fancy regex mountain or a custom parser of sorts.
This has been covered at EXTREME length in other topics about āauto detecting code when a user canāt figure out how to properly format codeā
And yes SO does do this, because the cost of not doing it on a site about programming was super high.
closing this as ā¦ by design and covered at: