discourse/vendor/assets/javascripts/highlightjs/languages/fix.min.js

6 lines
400 B
JavaScript

hljs.registerLanguage("fix",(()=>{"use strict";return e=>({name:"FIX",
contains:[{begin:/[^\u2401\u0001]+/,end:/[\u2401\u0001]/,excludeEnd:!0,
returnBegin:!0,returnEnd:!1,contains:[{begin:/([^\u2401\u0001=]+)/,
end:/=([^\u2401\u0001=]+)/,returnEnd:!0,returnBegin:!1,className:"attr"},{
begin:/=/,end:/([\u2401\u0001])/,excludeEnd:!0,excludeBegin:!0,
className:"string"}]}],case_insensitive:!0})})());