prism-code-editor
Version:
Lightweight, extensible code editor component for the web using Prism
16 lines (15 loc) • 421 B
JavaScript
import { l as languages } from "../../index-DF54SWhA.js";
languages.properties = {
"comment": /^[ ]*[#!].*/m,
"value": {
pattern: /(^[ ]*(?:\\[^]|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\[^]|[^\\\n])+/m,
lookbehind: true,
alias: "attr-value"
},
"key": {
pattern: /^[ ]*(?:\\[^]|[^\\\s:=])+(?= *[=:]| )/m,
alias: "attr-name"
},
"punctuation": /[=:]/
};
//# sourceMappingURL=properties.js.map