25 lines
513 B
JavaScript
25 lines
513 B
JavaScript
|
/*
|
||
|
Language: VBScript in HTML
|
||
|
Requires: xml.js, vbscript.js
|
||
|
Author: Ivan Sagalaev <maniac@softwaremaniacs.org>
|
||
|
Description: "Bridge" language defining fragments of VBScript in HTML within <% .. %>
|
||
|
Website: https://en.wikipedia.org/wiki/VBScript
|
||
|
Category: scripting
|
||
|
*/
|
||
|
|
||
|
function vbscriptHtml(hljs) {
|
||
|
return {
|
||
|
name: 'VBScript in HTML',
|
||
|
subLanguage: 'xml',
|
||
|
contains: [
|
||
|
{
|
||
|
begin: '<%',
|
||
|
end: '%>',
|
||
|
subLanguage: 'vbscript'
|
||
|
}
|
||
|
]
|
||
|
};
|
||
|
}
|
||
|
|
||
|
module.exports = vbscriptHtml;
|