Sha256: 6c8421f54b53e0dab070557ecba20788120dcd15c492ca6bce3060f9700423d6

Contents?: true

Size: 1.18 KB

Versions: 65

Compression:

Stored size: 1.18 KB

Contents

// This file is part of the "jQuery.Syntax" project, and is distributed under the MIT License.
Syntax.brushes.dependency("html","xml");Syntax.brushes.dependency("html","javascript");Syntax.brushes.dependency("html","css");Syntax.brushes.dependency("html","php-script");Syntax.brushes.dependency("html","ruby");
Syntax.register("html",function(a){a.push({pattern:/<script.*?type=.?text\/javascript.*?>((.|\n)*?)<\/script>/gmi,matches:Syntax.extractMatches({brush:"javascript"})});a.push({pattern:/<style.*?type=.?text\/css.*?>((.|\n)*?)<\/style>/gmi,matches:Syntax.extractMatches({brush:"css"})});a.push({pattern:/((<\?php)([\s\S]*?)(\?>))/gm,matches:Syntax.extractMatches({klass:"php-tag",allow:["keyword","php-script"]},{klass:"keyword"},{brush:"php-script"},{klass:"keyword"})});a.push({pattern:/((<\?rb?)([\s\S]*?)(\?>))/gm,
matches:Syntax.extractMatches({klass:"ruby-tag",allow:["keyword","ruby"]},{klass:"keyword"},{brush:"ruby"},{klass:"keyword"})});a.push({pattern:/<%=?(.*?)(%>)/g,klass:"instruction",allow:["string"]});a.push({pattern:/<!(DOCTYPE(.*?))>/g,matches:Syntax.extractMatches({klass:"doctype"})});a.push({pattern:/(%[0-9a-f]{2})/gi,klass:"percent-escape",only:["html"]});a.derives("xml")});

Version data entries

65 entries across 65 versions & 2 rubygems

Version Path
utopia-project-0.33.1 public/_components/jquery-syntax/jquery.syntax.brush.html.js
utopia-project-0.33.0 public/_components/jquery-syntax/jquery.syntax.brush.html.js
utopia-project-0.32.0 public/_components/jquery-syntax/jquery.syntax.brush.html.js
utopia-project-0.31.0 public/_components/jquery-syntax/jquery.syntax.brush.html.js
utopia-project-0.30.1 public/_components/jquery-syntax/jquery.syntax.brush.html.js
utopia-project-0.30.0 public/_components/jquery-syntax/jquery.syntax.brush.html.js
utopia-project-0.29.0 public/_components/jquery-syntax/jquery.syntax.brush.html.js
utopia-project-0.28.1 public/_components/jquery-syntax/jquery.syntax.brush.html.js
utopia-project-0.28.0 public/_components/jquery-syntax/jquery.syntax.brush.html.js
utopia-project-0.27.0 public/_components/jquery-syntax/jquery.syntax.brush.html.js
utopia-project-0.26.1 public/_components/jquery-syntax/jquery.syntax.brush.html.js
utopia-project-0.26.0 public/_components/jquery-syntax/jquery.syntax.brush.html.js
utopia-project-0.25.0 public/_components/jquery-syntax/jquery.syntax.brush.html.js
utopia-project-0.24.1 public/_components/jquery-syntax/jquery.syntax.brush.html.js
utopia-project-0.24.0 public/_components/jquery-syntax/jquery.syntax.brush.html.js
utopia-project-0.23.0 public/_components/jquery-syntax/jquery.syntax.brush.html.js
utopia-project-0.22.0 public/_components/jquery-syntax/jquery.syntax.brush.html.js
utopia-project-0.21.0 public/_components/jquery-syntax/jquery.syntax.brush.html.js
utopia-project-0.20.3 public/_components/jquery-syntax/jquery.syntax.brush.html.js
async-debug-0.2.0 public/_components/jquery-syntax/jquery.syntax.brush.html.js