Does anyone know if there's a jQuery plugin to format code, XML or HTML?

I'm showing the user some code on an html page. I use [google prettify](http://code.google.com/p/google-code-prettify/) for coloring the syntax, but would like some indentation and linebreaks too. any suggestions?