Formatting source code in wordpress.com blogs

I just found out that there’s a way to format source code in wordpress.com blogs without having to mess around with the HTML yourself. You just need to surround your code with a tag.

From http://support.wordpress.com/code/:

Code in between the tags will automatically be encoded for display, you don’t need to worry about HTML entities or anything.

When I get the chance, I’ll go through the old entries and modify them to make use of this feature.

Advertisements

January 19, 2009. Tags: . Uncategorized. Leave a comment.