Has anyone got any kind of widget or even just a good way of formatting code when posting it on a wordpress blog? This is not just a shameless plug of my own blog but if you look on any of my posts that have got code examples in (http://cjwdev.wordpress.com) you will see how ugly and unreadable the code is. I'm sure I've seen other wordpress blogs with nice colour coded and properly formatted code examples though so cant help thinking I must be missing something...

Cheers
Chris