1export function installProperties(Prism: any) { 2 // https://github.com/PrismJS/prism/blob/e0ee93f138b7da294a28db50b97c22977fdfc8ed/components/prism-properties.js 3 Prism.languages.properties = { 4 comment: /^[ \t]*[#!].*$/m, 5 'attr-value': { 6 pattern: 7 /(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+?(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m, 8 lookbehind: true, 9 }, 10 'attr-name': /^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+?(?= *[=:] *| )/m, 11 punctuation: /[=:]/, 12 }; 13} 14