This plugin uses pygments to highlight code on the server, with a simple shortcode. For example, [pyg]print "Hi"[/pyg]).
Almost. Although the code is preserved correctly in the editor, as of this writing (2011-06-28) the Pygments "pygmentize" command trims all whitespace from the end of the lines when displaying in HTML. I didn't see an option to disable that behavior in the documentation. Other than that, formatting is preserved. My end goal is to make it preserve all tabs, such that a copy'n'paste from the web page would result in an exact MD5 match of the original.