* Trac is under the GNU GPL version 2
*/
+/*
+* The definitions in this file apply to ALL types of highlighting. If you want to
+* add more definitions (from other types of keywords by GeSHi) then you can name them
+* ".code .CLASS_NAME" to have them apply to all languages. If you want to add or
+* override a definition for a specific language, use ".GESHI_LANGUAGE .CLASS_NAME".
+*
+* This works because the code is wrapped like this:
+* <div class="code">
+* <div class="GESHI_LANGUAGE">
+* </div>
+* </div>
+*/
+
/* Key Words I (if, do, while, etc.) */
.code .kw1
{
$geshi->enable_classes();
// header
-$geshi->set_header_type(GESHI_HEADER_NONE);
+$geshi->set_header_type(GESHI_HEADER_DIV);
// disable links
$urls = array_keys($geshi->language_data['URLS']);
$geshi->set_url_for_keyword_group($key, '');
}
-// css info
-$geshi->set_overall_class('code');
-
// don't do anything stupid
$geshi->set_case_keywords(GESHI_CAPS_NO_CHANGE);