Difference between revisions of "DNA.php"

From Organic Design wiki
m (doh forgot tags)
m (php tag)
Line 1: Line 1:
< ?php
+
<?
 
# DNA syntax highlighting using GeSHi  
 
# DNA syntax highlighting using GeSHi  
 
$language_data = array (
 
$language_data = array (

Revision as of 19:29, 5 February 2006

<?

  1. DNA syntax highlighting using GeSHi

$language_data = array (

   'LANG_NAME' => 'DNA',
   'COMMENT_SINGLE' => array(1 => '%'),
   'COMMENT_MULTI' => array( '\\begin'.'{comment}' => '\\end'.'{comment}'),
   '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 => true,
       1 => true,
       2 => true,
       3 => true,
       ),
   'STYLES' => array(
       'KEYWORDS' => array(
           1 => 'color: green',
           2 => 'color: red',
           3 => 'color: blue'
           ),
    'COMMENTS' => array(
           1 => 'color: grey; font-style: italic;',
           ),
    )

) ?>