l0bsterssg

node.js static responsive blog post generator
Log | Files | Refs | README

vbscript-html.js (505B)


      1 /*
      2 Language: VBScript in HTML
      3 Requires: xml.js, vbscript.js
      4 Author: Ivan Sagalaev <maniac@softwaremaniacs.org>
      5 Description: "Bridge" language defining fragments of VBScript in HTML within <% .. %>
      6 Website: https://en.wikipedia.org/wiki/VBScript
      7 Category: scripting
      8 */
      9 
     10 function vbscriptHtml(hljs) {
     11   return {
     12     name: 'VBScript in HTML',
     13     subLanguage: 'xml',
     14     contains: [
     15       {
     16         begin: '<%', end: '%>',
     17         subLanguage: 'vbscript'
     18       }
     19     ]
     20   };
     21 }
     22 
     23 module.exports = vbscriptHtml;