Syntax Highlight con HTML Purifier y GeSHi
… * Highlights the text as code in the supplied language * * @return string The marked up code * @param subject The text to markup * @param language The language to use for highlighting */ public static function syntax_highlight($subject, $language) { /* Format the code with GeSHi */ include_once(APP_DIR . …
El Martes, 4 de Marzo del 2008