]> luflow.net public git repositories - flow-web.git/blob - static/highlight/languages/vbscript-html.js
Initial commit.
[flow-web.git] / static / highlight / languages / vbscript-html.js
1 /*! `vbscript-html` grammar compiled for Highlight.js 11.11.1 */
2 (function(){
3 var hljsGrammar = (function () {
4 'use strict';
5
6 /*
7 Language: VBScript in HTML
8 Requires: xml.js, vbscript.js
9 Author: Ivan Sagalaev <maniac@softwaremaniacs.org>
10 Description: "Bridge" language defining fragments of VBScript in HTML within <% .. %>
11 Website: https://en.wikipedia.org/wiki/VBScript
12 Category: scripting
13 */
14
15 function vbscriptHtml(hljs) {
16 return {
17 name: 'VBScript in HTML',
18 subLanguage: 'xml',
19 contains: [
20 {
21 begin: '<%',
22 end: '%>',
23 subLanguage: 'vbscript'
24 }
25 ]
26 };
27 }
28
29 return vbscriptHtml;
30
31 })();
32
33 hljs.registerLanguage('vbscript-html', hljsGrammar);
34 })();