Formatting source code in blogs

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


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.


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