vue-files-preview-inno
Version:
A tool for previewing files such as doc, excel, pdf, image, markdown, txt, audio, and video and so on.
46 lines (45 loc) • 797 B
JavaScript
var n, a;
function i() {
if (a) return n;
a = 1;
function s(e) {
const t = {
className: "attr",
begin: /"(\\.|[^\\"\r\n])*"(?=\s*:)/,
relevance: 1.01
}, o = {
match: /[{}[\],:]/,
className: "punctuation",
relevance: 0
}, r = [
"true",
"false",
"null"
], c = {
scope: "literal",
beginKeywords: r.join(" ")
};
return {
name: "JSON",
aliases: ["jsonc"],
keywords: {
literal: r
},
contains: [
t,
o,
e.QUOTE_STRING_MODE,
c,
e.C_NUMBER_MODE,
e.C_LINE_COMMENT_MODE,
e.C_BLOCK_COMMENT_MODE
],
illegal: "\\S"
};
}
return n = s, n;
}
export {
i as __require
};
//# sourceMappingURL=json.mjs.map