From: Dylan Lloyd Date: Wed, 15 Jun 2011 05:55:41 +0000 (-0400) Subject: Added C++ syntax to SyntaxHighlighter autoloader X-Git-Url: https://disinclined.org/git/?a=commitdiff_plain;h=e02661a0816878edab7927b3573408999f32cd48;p=dylansserver.git Added C++ syntax to SyntaxHighlighter autoloader --- diff --git a/index.php b/index.php index 0355694..8245ec2 100644 --- a/index.php +++ b/index.php @@ -250,7 +250,8 @@ class page extends cms { SyntaxHighlighter.autoloader( 'js /includes/syntax/scripts/shBrushJScript.js', 'bash /includes/syntax/scripts/shBrushBash.js', - 'sql /includes/syntax/scripts/shBrushSql.js'); + 'sql /includes/syntax/scripts/shBrushSql.js', + 'cpp /includes/syntax/scripts/shBrushCpp.js'); SyntaxHighlighter.defaults['gutter'] = false; SyntaxHighlighter.defaults['toolbar'] = false; SyntaxHighlighter.all(); @@ -352,7 +353,8 @@ class note extends cms { SyntaxHighlighter.autoloader( 'js /includes/syntax/scripts/shBrushJScript.js', 'bash /includes/syntax/scripts/shBrushBash.js', - 'sql /includes/syntax/scripts/shBrushSql.js'); + 'sql /includes/syntax/scripts/shBrushSql.js', + 'cpp /includes/syntax/scripts/shBrushCpp.js'); SyntaxHighlighter.defaults['gutter'] = false; SyntaxHighlighter.defaults['toolbar'] = false; SyntaxHighlighter.all();