Code snippets on Wordpress is plain awful, indentation & HTML escaping is a mess. I have to re-edit the same code snippet 2-3-4 times when writing a blog entry on WP.
I'm sure it can get easier than WP.
Have you tried embedded Github gists? Or do you want the snippet to live on your page?