prism-react-editor
Version:
Lightweight, extensible code editor component for React apps
30 lines (29 loc) • 680 B
JavaScript
import { l as languages } from "../../index-k28m3HFc.js";
languages.roboconf = {
"comment": /#.*/,
"keyword": {
"pattern": /(^|\s)(?:(?:external|import)\b|(?:facet|instance of)(?=[ ]+[\w-]+[ ]*\{))/,
lookbehind: true
},
"component": {
pattern: /[\w-]+(?=[ ]*\{)/,
alias: "variable"
},
"property": /[\w.-]+(?=[ ]*:)/,
"value": {
pattern: /(=[ ]*(?![ ]))[^,;]+/,
lookbehind: true,
alias: "attr-value"
},
"optional": {
pattern: /\(optional\)/,
alias: "builtin"
},
"wildcard": {
pattern: /(\.)\*/,
lookbehind: true,
alias: "operator"
},
"punctuation": /[{}.,:;=]/
};
//# sourceMappingURL=roboconf.js.map