travel/admin/node_modules/highlight.js/lib/languages/vbscript-html.js

25 lines
513 B
JavaScript
Raw Normal View History

2024-06-24 11:28:18 +08:00
/*
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;