Tuesday, September 2, 2008

A nifty program...

Here is a very nifty site for formatting code for HTML:
http://www.manoli.net/csharpformat/

what makes this really good, is that you can nest the css into the document, so for sites where you can't link the css, you can still use it.

I use the output of this for our internal wiki with sql.

Here is a screenshot of the output : (unfortunately, blogger is overriding the css)



So, hopefully someone can tellme how to override the css in blogger, so that it works. However, for the Sharepoint Wiki that we use, it's great.
And the source is available, so that you can fix some of those bugs, such as no space after a -- causes the comment to not be formatted.

No comments: