From 2daedc0b7ff9126ebb9855f6b8b39f830bd625ed Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Thu, 10 May 2012 15:48:01 +0200 Subject: GeSHi updated to 1.0.8.10 --- inc/geshi/pycon.php | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 inc/geshi/pycon.php (limited to 'inc/geshi/pycon.php') diff --git a/inc/geshi/pycon.php b/inc/geshi/pycon.php new file mode 100644 index 000000000..141d521f9 --- /dev/null +++ b/inc/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.3