Automatic code highlighting

Discourse has the option to force code highlighting. Many users don’t add the language to the back tics and this setting can help a little:

You can find it under the Posting category in the site settings.