I haven’t posted a lot of code on this blog, but I have started to find the plain text formatting used up to now is not as readable as it could be. Since this site is a WordPress install, it seemed sensible to take a look at the Plugin Directory to see if I could do anything about this. And I can.
WP Code Highlight provides syntax highlighting and, handily, uses the
</pre> to establish where to apply the highlighting.
I have, therefore, installed it, tinkered around with the settings and then adjusted the theme settings to accommodate it. I may make a few minor tweaks if I spot any glaring inconsistencies but, for now, I am pretty happy with the way things are starting to look.