From 18e0e729f9e9c23ff635675007d11e0b7bc3ee48 Mon Sep 17 00:00:00 2001 From: wiki Date: Mon, 6 May 2013 15:34:35 +0000 Subject: add parabola extensions, remove arch extensions --- .../SyntaxHighlight_GeSHi/geshi/geshi/pycon.php | 64 ++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 extensions/SyntaxHighlight_GeSHi/geshi/geshi/pycon.php (limited to 'extensions/SyntaxHighlight_GeSHi/geshi/geshi/pycon.php') diff --git a/extensions/SyntaxHighlight_GeSHi/geshi/geshi/pycon.php b/extensions/SyntaxHighlight_GeSHi/geshi/geshi/pycon.php new file mode 100644 index 00000000..141d521f --- /dev/null +++ b/extensions/SyntaxHighlight_GeSHi/geshi/geshi/pycon.php @@ -0,0 +1,64 @@ +>>).*?$(?:\n\.\.\..*?$)*($)/m'; +$language_data['HIGHLIGHT_STRICT_BLOCK'][-1] = true; + +$language_data['STYLES']['SCRIPT'][-1] = 'color: #222222;'; + +if(!isset($language_data['COMMENT_REGEXP'])) { + $language_data['COMMENT_REGEXP'] = array(); +} + +$language_data['COMMENT_REGEXP'][-1] = '/(?:^|\A\s)(?:>>>|\.\.\.)/m'; +$language_data['STYLES']['COMMENTS'][-1] = 'color: #444444;'; + +?> \ No newline at end of file -- cgit v1.2.2