Housekeeping note: Now with syntax highlighting

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> and </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.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s