hexo/node_modules/highlight.js/es/languages/vbscript-html.js

25 lines
542 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'
}
]
};
}
export { vbscriptHtml as default };