DNA.php

From Organic Design wiki
Revision as of 19:00, 8 February 2006 by Sven (talk | contribs)

?php

  1. syntax highlighting using GeSHi

$language_data = array(

   'LANG_NAME' => 'dna',
   'COMMENT_SINGLE' => array(1 => '>',2 => '#'),
   'COMMENT_MULTI' => array('/*' => '*/'),
   'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
   'QUOTEMARKS' => array("'",'"'),
   'ESCAPE_CHAR' => '\\',
   'KEYWORDS' => array(
       1 => array('a'),
       2 => array('t'),
       3 => array('c')
               ),

'CASE_SENSITIVE' => array(

               GESHI_COMMENTS => false,
               1 => false,
               2 => false,
               3 => false,
               ),
   'STYLES' => array(
       'KEYWORDS' => array(
           1 => 'color: #00FF00;',
           2 => 'color: #FF0000;',
           3 => 'color: #0066FF;'
           ),
    'COMMENTS' => array(
           1 => 'color: #808080; font-style: italic;',
           2 => 'color: #808080; font-style: italic;',
     'MULTI' => 'color: #808080; font-style: italic;'
           ),
    )

) ?>