prism-code-editor
Version:
Lightweight, extensible code editor component for the web using Prism
25 lines (24 loc) • 475 B
JavaScript
import { l as a } from "../prismCore-5c7f03d0.js";
a.false = {
comment: /\{[^}]*\}/,
string: {
pattern: /"[^"]*"/,
greedy: !0
},
"character-code": {
pattern: /'(?:[^\r]|\r\n?)/,
alias: "number"
},
"assembler-code": {
pattern: /\d+`/,
alias: "important"
},
number: /\d+/,
operator: /[-!#$%&'*+,./:;=>?@\\^_`|~ßø]/,
punctuation: /\[|\]/,
variable: /[a-z]/,
"non-standard": {
pattern: /[()<BDO®]/,
alias: "bold"
}
};