I use gist.github.com for this. Advantages:
* Always editable in a clean text-area. * Version controlled. * Language detection and syntax highlighting.
* Always editable in a clean text-area. * Version controlled. * Language detection and syntax highlighting.
Also, this method won't work too well when the post is viewed in an rss reader.
I have waffled back & forth on embedding gists in my blog posts because they don't show up in RSS readers. Also, if you have a long blog post with multiple snippets of code you have to create a new gist for each one. It'd be nice if each 'file' in a gist could be embedded separately.