UNPKG

vue-files-preview-inno

Version:

A tool for previewing files such as doc, excel, pdf, image, markdown, txt, audio, and video and so on.

82 lines (81 loc) 1.41 kB
var t, s; function u() { if (s) return t; s = 1; function n(e) { const a = { match: [ /^\s*(?=\S)/, // have to look forward here to avoid polynomial backtracking /[^:]+/, /:\s*/, /$/ ], className: { 2: "attribute", 3: "punctuation" } }, r = { match: [ /^\s*(?=\S)/, // have to look forward here to avoid polynomial backtracking /[^:]*[^: ]/, /[ ]*:/, /[ ]/, /.*$/ ], className: { 2: "attribute", 3: "punctuation", 5: "string" } }, i = { match: [ /^\s*/, />/, /[ ]/, /.*$/ ], className: { 2: "punctuation", 4: "string" } }, c = { variants: [ { match: [ /^\s*/, /-/, /[ ]/, /.*$/ ] }, { match: [ /^\s*/, /-$/ ] } ], className: { 2: "bullet", 4: "string" } }; return { name: "Nested Text", aliases: ["nt"], contains: [ e.inherit(e.HASH_COMMENT_MODE, { begin: /^\s*(?=#)/, excludeBegin: !0 }), c, i, a, r ] }; } return t = n, t; } export { u as __require }; //# sourceMappingURL=nestedtext.mjs.map