To be able to use this helper you need to download GeSHi and put it in /app/vendors/geshi directory. You only need geshi.php and the geshi folder.
/app/views/helpers/formatting.php
to view the code read the full post
Load the helper into your cotroller var $helpers = array('Formatting');. To tell the helper what to highlight, the text from your view must be between the <code></code> tags. You can specify the language you wish to highlight like this: <code language="php"></code>. If no language is defined, the default language is set to php.
For example:
to view the code read the full post
The results are similar to this page and should ...read more


