Sha256: da04ffa740a67158995e6db8dc6d3487d27bbadea8f29fa86a3a3c0fffb47299
Contents?: true
Size: 570 Bytes
Versions: 63
Compression:
Stored size: 570 Bytes
Contents
// This file is part of the "jQuery.Syntax" project, and is distributed under the MIT License. Syntax.brushes.dependency("bash","bash-script");Syntax.register("bash",function(a){a.push({pattern:/^([\w@:~ ]*?[\$|#])\s+(.*?)$/gm,matches:Syntax.extractMatches({klass:"prompt"},{brush:"bash-script"})});a.push({pattern:/^\-\- .*$/gm,klass:"comment",allow:["href"]});a.push(Syntax.lib.singleQuotedString);a.push(Syntax.lib.doubleQuotedString);a.push(Syntax.lib.stringEscape);a.push(Syntax.lib.webLink);a.push({klass:"stderr",allow:["string","comment","constant","href"]})});
Version data entries
63 entries across 63 versions & 2 rubygems