13 June 2005

Nicely formatted code.

Ah, instead of just using the vanilla <pre> tags, Ill take the extra effort and beautify my code with a code formatter.
I found a really good one here: Manoli C# Code Formatter
where all I do is just cut and paste the code.
It has some great features like alternating the colour of the lines, adding the line numbers and embedding the style sheet. Also formats for vb (yux), and xml/html.

nice.

[Update - 4:00pm]

Gah! the formats dont appear on blogspot! what a waste!

[Update - 6:30pm]

Ah, fixed it by placing the css code in blogspot's template....