Difference between revisions of "DNA.php"
From Organic Design wiki
(Adding comment colour) |
m (doh forgot tags) |
||
Line 1: | Line 1: | ||
− | ?php | + | < ?php |
− | # | + | # DNA syntax highlighting using GeSHi |
$language_data = array ( | $language_data = array ( | ||
'LANG_NAME' => 'DNA', | 'LANG_NAME' => 'DNA', | ||
Line 35: | Line 35: | ||
) | ) | ||
) | ) | ||
+ | ?> |
Revision as of 19:18, 5 February 2006
< ?php
- 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;', ), )
) ?>