properties.min.js 655 B

1234567891011
  1. /*! `properties` grammar compiled for Highlight.js 11.7.0 */
  2. var hljsGrammar=(()=>{"use strict";return e=>{
  3. const t="[ \\t\\f]*",n="([^\\\\:= \\t\\f\\n]|\\\\.)+";return{name:".properties",
  4. disableAutodetect:!0,case_insensitive:!0,illegal:/\S/,
  5. contains:[e.COMMENT("^\\s*[!#]","$"),{returnBegin:!0,variants:[{
  6. begin:n+"[ \\t\\f]*[:=][ \\t\\f]*"},{begin:n+"[ \\t\\f]+"}],contains:[{
  7. className:"attr",begin:n,endsParent:!0}],starts:{
  8. end:"([ \\t\\f]*[:=][ \\t\\f]*|[ \\t\\f]+)",relevance:0,starts:{
  9. className:"string",end:/$/,relevance:0,contains:[{begin:"\\\\\\\\"},{
  10. begin:"\\\\\\n"}]}}},{className:"attr",begin:n+t+"$"}]}}})()
  11. ;export default hljsGrammar;