Catch and educate users posting code without properly formatting it

The concept already exists - try creating a brand new user on try.discourse.org, make a topic, and you’ll see it.

So you could have something that looks like this:

4 Likes