mirror of
https://github.com/discourse/discourse.git
synced 2024-12-02 22:53:44 +08:00
6 lines
400 B
JavaScript
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})})()); |