l0bsterssg

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

fix.js (677B)


      1 /*
      2 Language: FIX
      3 Author: Brent Bradbury <brent@brentium.com>
      4 */
      5 
      6 function fix(hljs) {
      7   return {
      8     name: 'FIX',
      9     contains: [
     10     {
     11       begin: /[^\u2401\u0001]+/,
     12       end: /[\u2401\u0001]/,
     13       excludeEnd: true,
     14       returnBegin: true,
     15       returnEnd: false,
     16       contains: [
     17       {
     18         begin: /([^\u2401\u0001=]+)/,
     19         end: /=([^\u2401\u0001=]+)/,
     20         returnEnd: true,
     21         returnBegin: false,
     22         className: 'attr'
     23       },
     24       {
     25         begin: /=/,
     26         end: /([\u2401\u0001])/,
     27         excludeEnd: true,
     28         excludeBegin: true,
     29         className: 'string'
     30       }]
     31     }],
     32     case_insensitive: true
     33   };
     34 }
     35 
     36 module.exports = fix;