When putting code samples in my blog I would like the code to have all the appropriate colours. How can I do that?
Basically if I write:
foreach (ListItem item in items)
{
item.Text = "something";
}
I want it to appear in the correct colours like it does in my Visual Studio or here at stack*overflow*.
I'm bored of styling the colours of each key word manually. Is there a pre-existing javascript library I can use?
EDIT: I'm using blogger as my blogging platform if that helps