Code2Wordpress is little WebApp that uses GeSHi's library to generate Worpress (and probably others blogs systems oo) friendly code.
If you can install plugins on your Wordpress you can use iG:Syntax Hiliter plugin instead.