Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Syntax highlight here docs

  • Loading branch information...
commit f0977c32bddb0134ec53d3ceb611ebf096844bc2 1 parent 84a9565
@rwstauner rwstauner authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  root/static/js/shBrushPerl.js
View
1  root/static/js/shBrushPerl.js
@@ -54,6 +54,7 @@
'has extends with before after around override augment';
this.regexList = [
+ { regex: /(<<|&lt;&lt;)((\w+)|(['"])(.+?)\4)[\s\S]+?\n\3\5\n/g, css: 'string' }, // here doc (maybe html encoded)
{ regex: /#.*$/gm, css: 'comments' },
{ regex: /^#!.*\n/g, css: 'preprocessor' }, // shebang
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' },
Please sign in to comment.
Something went wrong with that request. Please try again.