Difference between revisions of "DNA.php"
From Organic Design wiki
m (php tag) |
|||
Line 1: | Line 1: | ||
− | + | ?php | |
− | # | + | # syntax highlighting using GeSHi |
− | $language_data = array ( | + | $language_data = array( |
− | 'LANG_NAME' => ' | + | 'LANG_NAME' => 'dna', |
− | 'COMMENT_SINGLE' => array(1 => ' | + | 'COMMENT_SINGLE' => array(1 => '>',2 => '#'), |
− | 'COMMENT_MULTI' => array( ' | + | 'COMMENT_MULTI' => array('/*' => '*/'), |
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, | 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, | ||
− | 'QUOTEMARKS' => array(), | + | 'QUOTEMARKS' => array("'",'"'), |
− | 'ESCAPE_CHAR' => '', | + | 'ESCAPE_CHAR' => '\\', |
'KEYWORDS' => array( | 'KEYWORDS' => array( | ||
− | 1 => array( | + | 1 => array('a','c'), |
− | + | 2 => array('t'), | |
− | 2 => array( | + | 3 => array('g') |
− | + | ), | |
− | + | 'CASE_SENSITIVE' => array( | |
− | 3 => array( | + | GESHI_COMMENTS => false, |
− | + | 1 => false, | |
− | + | 2 => false, | |
+ | 3 => false, | ||
), | ), | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
'STYLES' => array( | 'STYLES' => array( | ||
'KEYWORDS' => array( | 'KEYWORDS' => array( | ||
− | 1 => 'color: | + | 1 => 'color: #CCCCCC;', |
− | 2 => 'color: | + | 2 => 'color: #00FF66;', |
− | 3 => 'color: | + | 3 => 'color: #FF0033;' |
), | ), | ||
'COMMENTS' => array( | 'COMMENTS' => array( | ||
− | 1 => 'color: | + | 1 => 'color: #CCCCCC; font-style: italic;', |
+ | 2 => 'color: #66FF66; font-style: italic;', | ||
+ | 'MULTI' => 'color: #808080; font-style: italic;' | ||
), | ), | ||
) | ) | ||
) | ) | ||
?> | ?> |
Revision as of 18:50, 8 February 2006
?php
- 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','c'), 2 => array('t'), 3 => array('g') ),
'CASE_SENSITIVE' => array(
GESHI_COMMENTS => false, 1 => false, 2 => false, 3 => false, ), 'STYLES' => array( 'KEYWORDS' => array( 1 => 'color: #CCCCCC;', 2 => 'color: #00FF66;', 3 => 'color: #FF0033;' ), 'COMMENTS' => array( 1 => 'color: #CCCCCC; font-style: italic;', 2 => 'color: #66FF66; font-style: italic;', 'MULTI' => 'color: #808080; font-style: italic;' ), )
) ?>