I've made some improvements to a tool I wrote a while ago which prepares code snippets for inclusion within a blog post. Code is formatted with line numbers, indentation is preserved and special characters are replaced with entities where necessary.
The interface is still a little crude and I'm in two minds about the semantic correctness of using an ordered list for the numbering but the output certainly looks nice.
Where is the preview?
Thanks for the feedback. Good point. I'm working on it and I'll post an updated version incorporating a preview soon.
This is a very cool tool. Thanks for working on it and developing it!