Difference between revisions of "DNA.php"

From Organic Design wiki
m (dummy edit)
(Adding comment colour)
Line 29: Line 29:
 
             2 => 'color: red',
 
             2 => 'color: red',
 
             3 => 'color: blue'
 
             3 => 'color: blue'
             )
+
             ),
 +
    'COMMENTS' => array(
 +
            1 => 'color: grey; font-style: italic;',
 +
            ),
 
     )
 
     )
 
)
 
)

Revision as of 09:34, 5 February 2006

?php

  1. TeX for 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;',
           ),
    )

)