10 lines
637 B
JavaScript
10 lines
637 B
JavaScript
|
/*! `properties` grammar compiled for Highlight.js 11.8.0 */
|
||
|
(()=>{var e=(()=>{"use strict";return e=>{
|
||
|
const n="[ \\t\\f]*",t=n+"[:=]"+n,s="[ \\t\\f]+",a="([^\\\\:= \\t\\f\\n]|\\\\.)+",r={
|
||
|
end:"("+t+"|"+s+")",relevance:0,starts:{className:"string",end:/$/,relevance:0,
|
||
|
contains:[{begin:"\\\\\\\\"},{begin:"\\\\\\n"}]}};return{name:".properties",
|
||
|
disableAutodetect:!0,case_insensitive:!0,illegal:/\S/,
|
||
|
contains:[e.COMMENT("^\\s*[!#]","$"),{returnBegin:!0,variants:[{begin:a+t},{
|
||
|
begin:a+s}],contains:[{className:"attr",begin:a,endsParent:!0}],starts:r},{
|
||
|
className:"attr",begin:a+n+"$"}]}}})();hljs.registerLanguage("properties",e)
|
||
|
})();
|