Oliver has a nice post on how to nicely format the code on your Community Server blog. Check it out here.