This is a simple helpful filter module if you want to post colored and formated text in body.
It handles <code></code> and <?php ?> tags so that users can post code without having to worry about
escaping with < and >
Project Link page:-
http://drupal.org/project/codefilter
Related modules/alternatives
* Code filter: a simple module with support for PHP syntax highlighting
* Syntax Highlighter uses a Javascript library to add syntax highlighting client side (unlike GeSHi filter, which renders the highlighted code server side).
* Chili highlighter also uses a Javascript library to do the syntax highlighting client side.
* Ajax Markup