Enhancement suggestion for the site: can it spot more than a couple of lines of code and (a) reject the code if a code block isn't used or (b) warn the user with details of how to do it properly?

In the above post I Ctrl-V'd exactly the same stuff, one in a code block and one not.