prism-code-editor
Version:
Lightweight, extensible code editor component for the web using Prism
17 lines (16 loc) • 506 B
JavaScript
import { l as languages } from "../../index-DF54SWhA.js";
import { b as boolean, a as clikeComment } from "../../patterns-Jkz_nwNQ.js";
languages.webmanifest = languages.json = {
"property": /"(?:\\.|[^\\\n"])*"(?=\s*:)/g,
"string": /"(?:\\.|[^\\\n"])*"/g,
"comment": clikeComment,
"number": /-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,
"operator": /:/,
"punctuation": /[[\]{},]/,
"boolean": boolean,
"null": {
pattern: /\bnull\b/,
alias: "keyword"
}
};
//# sourceMappingURL=json.js.map