Hey guys. Not sure if this has been mentioned before but this is a really nifty tool for converting code to post on blogs of forums.
http://www.simple-talk.com/prettifier/default.php
Tnx, this is a cool website... will only use this for my code in the future!
Have you tried CopySourceAsHtml? It's a plugin for Visual Studio which I've been using for the last couple of months and it's great! I wrote about it a while back on my blog (mailowl.co.za/wordpress)
@Neale
Tried it and didn't like it.
Firstly colouring is based on words not syntax, it does not take case into account (I.e. it sees Enum = enum and colours them the same). Seems to be a VS 2003 (aka the ugly one) colour scheme too.
But thats all ok, the problem is that the HTML it generates is terrible. Lots of for positioning etc...
@MailOwl
Didn't know about this, will have a look. Thanks.
BTW if you want a VS 2008 version of the CopySourceAsHTML plug in there is a post about it at
devauthority.com/.../55632.aspx