@duskmoon-dev/el-markdown 0.11.2 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +123 -121
- package/dist/cjs/index.js.map +4 -4
- package/dist/cjs/register.js +123 -121
- package/dist/cjs/register.js.map +4 -4
- package/dist/esm/index.js +123 -121
- package/dist/esm/index.js.map +4 -4
- package/dist/esm/register.js +123 -121
- package/dist/esm/register.js.map +4 -4
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +4 -4
package/dist/cjs/register.js
CHANGED
|
@@ -49215,7 +49215,7 @@ module.exports = __toCommonJS(exports_src);
|
|
|
49215
49215
|
var import_el_base = require("@duskmoon-dev/el-base");
|
|
49216
49216
|
var import_markdown_body = require("@duskmoon-dev/core/components/markdown-body");
|
|
49217
49217
|
|
|
49218
|
-
// ../../node_modules/.bun/marked@17.0.
|
|
49218
|
+
// ../../node_modules/.bun/marked@17.0.5/node_modules/marked/lib/marked.esm.js
|
|
49219
49219
|
function M() {
|
|
49220
49220
|
return { async: false, breaks: false, extensions: null, gfm: true, hooks: null, pedantic: false, renderer: null, silent: false, tokenizer: null, walkTokens: null };
|
|
49221
49221
|
}
|
|
@@ -49231,7 +49231,7 @@ function k(u, e = "") {
|
|
|
49231
49231
|
}, getRegex: () => new RegExp(t, e) };
|
|
49232
49232
|
return n;
|
|
49233
49233
|
}
|
|
49234
|
-
var
|
|
49234
|
+
var be = (() => {
|
|
49235
49235
|
try {
|
|
49236
49236
|
return !!new RegExp("(?<=1)(?<!1)");
|
|
49237
49237
|
} catch {
|
|
@@ -49239,82 +49239,79 @@ var Re = (() => {
|
|
|
49239
49239
|
}
|
|
49240
49240
|
})();
|
|
49241
49241
|
var m = { codeRemoveIndent: /^(?: {1,4}| {0,3}\t)/gm, outputLinkReplace: /\\([\[\]])/g, indentCodeCompensation: /^(\s+)(?:```)/, beginningSpace: /^\s+/, endingHash: /#$/, startingSpaceChar: /^ /, endingSpaceChar: / $/, nonSpaceChar: /[^ ]/, newLineCharGlobal: /\n/g, tabCharGlobal: /\t/g, multipleSpaceGlobal: /\s+/g, blankLine: /^[ \t]*$/, doubleBlankLine: /\n[ \t]*\n[ \t]*$/, blockquoteStart: /^ {0,3}>/, blockquoteSetextReplace: /\n {0,3}((?:=+|-+) *)(?=\n|$)/g, blockquoteSetextReplace2: /^ {0,3}>[ \t]?/gm, listReplaceNesting: /^ {1,4}(?=( {4})*[^ ])/g, listIsTask: /^\[[ xX]\] +\S/, listReplaceTask: /^\[[ xX]\] +/, listTaskCheckbox: /\[[ xX]\]/, anyLine: /\n.*\n/, hrefBrackets: /^<(.*)>$/, tableDelimiter: /[:|]/, tableAlignChars: /^\||\| *$/g, tableRowBlankLine: /\n[ \t]*$/, tableAlignRight: /^ *-+: *$/, tableAlignCenter: /^ *:-+: *$/, tableAlignLeft: /^ *:-+ *$/, startATag: /^<a /i, endATag: /^<\/a>/i, startPreScriptTag: /^<(pre|code|kbd|script)(\s|>)/i, endPreScriptTag: /^<\/(pre|code|kbd|script)(\s|>)/i, startAngleBracket: /^</, endAngleBracket: />$/, pedanticHrefTitle: /^([^'"]*[^\s])\s+(['"])(.*)\2/, unicodeAlphaNumeric: /[\p{L}\p{N}]/u, escapeTest: /[&<>"']/, escapeReplace: /[&<>"']/g, escapeTestNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/, escapeReplaceNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g, caret: /(^|[^\[])\^/g, percentDecode: /%25/g, findPipe: /\|/g, splitPipe: / \|/, slashPipe: /\\\|/g, carriageReturn: /\r\n|\r/g, spaceLine: /^ +$/gm, notSpaceStart: /^\S*/, endingNewline: /\n$/, listItemRegex: (u) => new RegExp(`^( {0,3}${u})((?:[ ][^\\n]*)?(?:\\n|$))`), nextBulletRegex: (u) => new RegExp(`^ {0,${Math.min(3, u - 1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`), hrRegex: (u) => new RegExp(`^ {0,${Math.min(3, u - 1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`), fencesBeginRegex: (u) => new RegExp(`^ {0,${Math.min(3, u - 1)}}(?:\`\`\`|~~~)`), headingBeginRegex: (u) => new RegExp(`^ {0,${Math.min(3, u - 1)}}#`), htmlBeginRegex: (u) => new RegExp(`^ {0,${Math.min(3, u - 1)}}<(?:[a-z].*>|!--)`, "i"), blockquoteBeginRegex: (u) => new RegExp(`^ {0,${Math.min(3, u - 1)}}>`) };
|
|
49242
|
-
var
|
|
49243
|
-
var
|
|
49244
|
-
var
|
|
49245
|
-
var
|
|
49246
|
-
var
|
|
49247
|
-
var
|
|
49248
|
-
var
|
|
49249
|
-
var
|
|
49250
|
-
var
|
|
49251
|
-
var
|
|
49252
|
-
var
|
|
49253
|
-
var
|
|
49254
|
-
var
|
|
49255
|
-
var
|
|
49256
|
-
var
|
|
49257
|
-
var
|
|
49258
|
-
var
|
|
49259
|
-
var
|
|
49260
|
-
var
|
|
49261
|
-
var
|
|
49262
|
-
var
|
|
49263
|
-
var
|
|
49264
|
-
var
|
|
49265
|
-
]`).replace("lheading",
|
|
49266
|
-
var
|
|
49267
|
-
var
|
|
49268
|
-
var
|
|
49269
|
-
var
|
|
49270
|
-
var
|
|
49271
|
-
var
|
|
49272
|
-
var
|
|
49273
|
-
var
|
|
49242
|
+
var Re = /^(?:[ \t]*(?:\n|$))+/;
|
|
49243
|
+
var Te = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/;
|
|
49244
|
+
var Oe = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/;
|
|
49245
|
+
var C = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/;
|
|
49246
|
+
var we = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/;
|
|
49247
|
+
var Q = / {0,3}(?:[*+-]|\d{1,9}[.)])/;
|
|
49248
|
+
var se = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/;
|
|
49249
|
+
var ie = k(se).replace(/bull/g, Q).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/\|table/g, "").getRegex();
|
|
49250
|
+
var ye = k(se).replace(/bull/g, Q).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/table/g, / {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex();
|
|
49251
|
+
var j = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/;
|
|
49252
|
+
var Pe = /^[^\n]+/;
|
|
49253
|
+
var F = /(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/;
|
|
49254
|
+
var Se = k(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", F).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex();
|
|
49255
|
+
var $e = k(/^(bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, Q).getRegex();
|
|
49256
|
+
var v = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul";
|
|
49257
|
+
var U = /<!--(?:-?>|[\s\S]*?(?:-->|$))/;
|
|
49258
|
+
var _e = k("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$))", "i").replace("comment", U).replace("tag", v).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex();
|
|
49259
|
+
var oe = k(j).replace("hr", C).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", v).getRegex();
|
|
49260
|
+
var Le = k(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", oe).getRegex();
|
|
49261
|
+
var K = { blockquote: Le, code: Te, def: Se, fences: Oe, heading: we, hr: C, html: _e, lheading: ie, list: $e, newline: Re, paragraph: oe, table: _, text: Pe };
|
|
49262
|
+
var ne = k("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", C).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3}\t)[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", v).getRegex();
|
|
49263
|
+
var Me = { ...K, lheading: ye, table: ne, paragraph: k(j).replace("hr", C).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", ne).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", v).getRegex() };
|
|
49264
|
+
var ze = { ...K, html: k(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment", U).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(), def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/, heading: /^(#{1,6})(.*)(?:\n+|$)/, fences: _, lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/, paragraph: k(j).replace("hr", C).replace("heading", ` *#{1,6} *[^
|
|
49265
|
+
]`).replace("lheading", ie).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex() };
|
|
49266
|
+
var Ee = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/;
|
|
49267
|
+
var Ie = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/;
|
|
49268
|
+
var ae = /^( {2,}|\\)\n(?!\s*$)/;
|
|
49269
|
+
var Ae = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/;
|
|
49270
|
+
var z = /[\p{P}\p{S}]/u;
|
|
49271
|
+
var H = /[\s\p{P}\p{S}]/u;
|
|
49272
|
+
var W = /[^\s\p{P}\p{S}]/u;
|
|
49273
|
+
var Ce = k(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, H).getRegex();
|
|
49274
49274
|
var le = /(?!~)[\p{P}\p{S}]/u;
|
|
49275
|
-
var
|
|
49276
|
-
var
|
|
49277
|
-
var
|
|
49278
|
-
var
|
|
49279
|
-
var
|
|
49280
|
-
var
|
|
49281
|
-
var pe =
|
|
49282
|
-
var Ze = k(pe, "
|
|
49283
|
-
var
|
|
49284
|
-
var
|
|
49285
|
-
var Qe = k(
|
|
49286
|
-
var je =
|
|
49287
|
-
var Fe = k(
|
|
49288
|
-
var Ue = k(
|
|
49289
|
-
var Ke =
|
|
49290
|
-
var We = k(
|
|
49291
|
-
var Xe = k(
|
|
49292
|
-
var
|
|
49293
|
-
var
|
|
49294
|
-
var
|
|
49295
|
-
var
|
|
49296
|
-
var
|
|
49297
|
-
var
|
|
49298
|
-
var
|
|
49299
|
-
var
|
|
49300
|
-
var
|
|
49301
|
-
var
|
|
49302
|
-
var
|
|
49303
|
-
var
|
|
49304
|
-
var
|
|
49305
|
-
var
|
|
49306
|
-
var z = { normal: W, gfm: Z, breaks: rt, pedantic: nt };
|
|
49307
|
-
var st = { "&": "&", "<": "<", ">": ">", '"': """, "'": "'" };
|
|
49308
|
-
var de = (u) => st[u];
|
|
49275
|
+
var Be = /(?!~)[\s\p{P}\p{S}]/u;
|
|
49276
|
+
var De = /(?:[^\s\p{P}\p{S}]|~)/u;
|
|
49277
|
+
var qe = k(/link|precode-code|html/, "g").replace("link", /\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-", be ? "(?<!`)()" : "(^^|[^`])").replace("code", /(?<b>`+)[^`]+\k<b>(?!`)/).replace("html", /<(?! )[^<>]*?>/).getRegex();
|
|
49278
|
+
var ue = /^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/;
|
|
49279
|
+
var ve = k(ue, "u").replace(/punct/g, z).getRegex();
|
|
49280
|
+
var He = k(ue, "u").replace(/punct/g, le).getRegex();
|
|
49281
|
+
var pe = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)";
|
|
49282
|
+
var Ze = k(pe, "gu").replace(/notPunctSpace/g, W).replace(/punctSpace/g, H).replace(/punct/g, z).getRegex();
|
|
49283
|
+
var Ge = k(pe, "gu").replace(/notPunctSpace/g, De).replace(/punctSpace/g, Be).replace(/punct/g, le).getRegex();
|
|
49284
|
+
var Ne = k("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, W).replace(/punctSpace/g, H).replace(/punct/g, z).getRegex();
|
|
49285
|
+
var Qe = k(/^~~?(?:((?!~)punct)|[^\s~])/, "u").replace(/punct/g, z).getRegex();
|
|
49286
|
+
var je = "^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)";
|
|
49287
|
+
var Fe = k(je, "gu").replace(/notPunctSpace/g, W).replace(/punctSpace/g, H).replace(/punct/g, z).getRegex();
|
|
49288
|
+
var Ue = k(/\\(punct)/, "gu").replace(/punct/g, z).getRegex();
|
|
49289
|
+
var Ke = k(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex();
|
|
49290
|
+
var We = k(U).replace("(?:-->|$)", "-->").getRegex();
|
|
49291
|
+
var Xe = k("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", We).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex();
|
|
49292
|
+
var q = /(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/;
|
|
49293
|
+
var Je = k(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label", q).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex();
|
|
49294
|
+
var ce = k(/^!?\[(label)\]\[(ref)\]/).replace("label", q).replace("ref", F).getRegex();
|
|
49295
|
+
var he = k(/^!?\[(ref)\](?:\[\])?/).replace("ref", F).getRegex();
|
|
49296
|
+
var Ve = k("reflink|nolink(?!\\()", "g").replace("reflink", ce).replace("nolink", he).getRegex();
|
|
49297
|
+
var re = /[hH][tT][tT][pP][sS]?|[fF][tT][pP]/;
|
|
49298
|
+
var X = { _backpedal: _, anyPunctuation: Ue, autolink: Ke, blockSkip: qe, br: ae, code: Ie, del: _, delLDelim: _, delRDelim: _, emStrongLDelim: ve, emStrongRDelimAst: Ze, emStrongRDelimUnd: Ne, escape: Ee, link: Je, nolink: he, punctuation: Ce, reflink: ce, reflinkSearch: Ve, tag: Xe, text: Ae, url: _ };
|
|
49299
|
+
var Ye = { ...X, link: k(/^!?\[(label)\]\((.*?)\)/).replace("label", q).getRegex(), reflink: k(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", q).getRegex() };
|
|
49300
|
+
var N = { ...X, emStrongRDelimAst: Ge, emStrongLDelim: He, delLDelim: Qe, delRDelim: Fe, url: k(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol", re).replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(), _backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/, del: /^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/, text: k(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol", re).getRegex() };
|
|
49301
|
+
var et = { ...N, br: k(ae).replace("{2,}", "*").getRegex(), text: k(N.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex() };
|
|
49302
|
+
var B = { normal: K, gfm: Me, pedantic: ze };
|
|
49303
|
+
var E = { normal: X, gfm: N, breaks: et, pedantic: Ye };
|
|
49304
|
+
var tt = { "&": "&", "<": "<", ">": ">", '"': """, "'": "'" };
|
|
49305
|
+
var ke = (u) => tt[u];
|
|
49309
49306
|
function O(u, e) {
|
|
49310
49307
|
if (e) {
|
|
49311
49308
|
if (m.escapeTest.test(u))
|
|
49312
|
-
return u.replace(m.escapeReplace,
|
|
49309
|
+
return u.replace(m.escapeReplace, ke);
|
|
49313
49310
|
} else if (m.escapeTestNoEncode.test(u))
|
|
49314
|
-
return u.replace(m.escapeReplaceNoEncode,
|
|
49311
|
+
return u.replace(m.escapeReplaceNoEncode, ke);
|
|
49315
49312
|
return u;
|
|
49316
49313
|
}
|
|
49317
|
-
function
|
|
49314
|
+
function J(u) {
|
|
49318
49315
|
try {
|
|
49319
49316
|
u = encodeURI(u).replace(m.percentDecode, "%");
|
|
49320
49317
|
} catch {
|
|
@@ -49322,7 +49319,7 @@ function X(u) {
|
|
|
49322
49319
|
}
|
|
49323
49320
|
return u;
|
|
49324
49321
|
}
|
|
49325
|
-
function
|
|
49322
|
+
function V(u, e) {
|
|
49326
49323
|
let t = u.replace(m.findPipe, (i, s, a) => {
|
|
49327
49324
|
let o = false, l = s;
|
|
49328
49325
|
for (;--l >= 0 && a[l] === "\\"; )
|
|
@@ -49339,7 +49336,7 @@ function J(u, e) {
|
|
|
49339
49336
|
n[r] = n[r].trim().replace(m.slashPipe, "|");
|
|
49340
49337
|
return n;
|
|
49341
49338
|
}
|
|
49342
|
-
function
|
|
49339
|
+
function I(u, e, t) {
|
|
49343
49340
|
let n = u.length;
|
|
49344
49341
|
if (n === 0)
|
|
49345
49342
|
return "";
|
|
@@ -49355,7 +49352,7 @@ function E(u, e, t) {
|
|
|
49355
49352
|
}
|
|
49356
49353
|
return u.slice(0, n - r);
|
|
49357
49354
|
}
|
|
49358
|
-
function
|
|
49355
|
+
function de(u, e) {
|
|
49359
49356
|
if (u.indexOf(e[1]) === -1)
|
|
49360
49357
|
return -1;
|
|
49361
49358
|
let t = 0;
|
|
@@ -49368,7 +49365,7 @@ function ge(u, e) {
|
|
|
49368
49365
|
return n;
|
|
49369
49366
|
return t > 0 ? -2 : -1;
|
|
49370
49367
|
}
|
|
49371
|
-
function
|
|
49368
|
+
function ge(u, e = 0) {
|
|
49372
49369
|
let t = e, n = "";
|
|
49373
49370
|
for (let r of u)
|
|
49374
49371
|
if (r === "\t") {
|
|
@@ -49378,13 +49375,13 @@ function fe(u, e = 0) {
|
|
|
49378
49375
|
n += r, t++;
|
|
49379
49376
|
return n;
|
|
49380
49377
|
}
|
|
49381
|
-
function
|
|
49378
|
+
function fe(u, e, t, n, r) {
|
|
49382
49379
|
let i = e.href, s = e.title || null, a = u[1].replace(r.other.outputLinkReplace, "$1");
|
|
49383
49380
|
n.state.inLink = true;
|
|
49384
49381
|
let o = { type: u[0].charAt(0) === "!" ? "image" : "link", raw: t, href: i, title: s, text: a, tokens: n.inlineTokens(a) };
|
|
49385
49382
|
return n.state.inLink = false, o;
|
|
49386
49383
|
}
|
|
49387
|
-
function
|
|
49384
|
+
function nt(u, e, t) {
|
|
49388
49385
|
let n = u.match(t.other.indentCodeCompensation);
|
|
49389
49386
|
if (n === null)
|
|
49390
49387
|
return e;
|
|
@@ -49415,14 +49412,14 @@ var w = class {
|
|
|
49415
49412
|
let t = this.rules.block.code.exec(e);
|
|
49416
49413
|
if (t) {
|
|
49417
49414
|
let n = t[0].replace(this.rules.other.codeRemoveIndent, "");
|
|
49418
|
-
return { type: "code", raw: t[0], codeBlockStyle: "indented", text: this.options.pedantic ? n :
|
|
49415
|
+
return { type: "code", raw: t[0], codeBlockStyle: "indented", text: this.options.pedantic ? n : I(n, `
|
|
49419
49416
|
`) };
|
|
49420
49417
|
}
|
|
49421
49418
|
}
|
|
49422
49419
|
fences(e) {
|
|
49423
49420
|
let t = this.rules.block.fences.exec(e);
|
|
49424
49421
|
if (t) {
|
|
49425
|
-
let n = t[0], r =
|
|
49422
|
+
let n = t[0], r = nt(n, t[3] || "", this.rules);
|
|
49426
49423
|
return { type: "code", raw: n, lang: t[2] ? t[2].trim().replace(this.rules.inline.anyPunctuation, "$1") : t[2], text: r };
|
|
49427
49424
|
}
|
|
49428
49425
|
}
|
|
@@ -49431,7 +49428,7 @@ var w = class {
|
|
|
49431
49428
|
if (t) {
|
|
49432
49429
|
let n = t[2].trim();
|
|
49433
49430
|
if (this.rules.other.endingHash.test(n)) {
|
|
49434
|
-
let r =
|
|
49431
|
+
let r = I(n, "#");
|
|
49435
49432
|
(this.options.pedantic || !r || this.rules.other.endingSpaceChar.test(r)) && (n = r.trim());
|
|
49436
49433
|
}
|
|
49437
49434
|
return { type: "heading", raw: t[0], depth: t[1].length, text: n, tokens: this.lexer.inline(n) };
|
|
@@ -49440,13 +49437,13 @@ var w = class {
|
|
|
49440
49437
|
hr(e) {
|
|
49441
49438
|
let t = this.rules.block.hr.exec(e);
|
|
49442
49439
|
if (t)
|
|
49443
|
-
return { type: "hr", raw:
|
|
49440
|
+
return { type: "hr", raw: I(t[0], `
|
|
49444
49441
|
`) };
|
|
49445
49442
|
}
|
|
49446
49443
|
blockquote(e) {
|
|
49447
49444
|
let t = this.rules.block.blockquote.exec(e);
|
|
49448
49445
|
if (t) {
|
|
49449
|
-
let n =
|
|
49446
|
+
let n = I(t[0], `
|
|
49450
49447
|
`).split(`
|
|
49451
49448
|
`), r = "", i = "", s = [];
|
|
49452
49449
|
for (;n.length > 0; ) {
|
|
@@ -49500,28 +49497,28 @@ ${c}` : c;
|
|
|
49500
49497
|
if (!(t = s.exec(e)) || this.rules.block.hr.test(e))
|
|
49501
49498
|
break;
|
|
49502
49499
|
p = t[0], e = e.substring(p.length);
|
|
49503
|
-
let d =
|
|
49500
|
+
let d = ge(t[2].split(`
|
|
49504
49501
|
`, 1)[0], t[1].length), h = e.split(`
|
|
49505
49502
|
`, 1)[0], R = !d.trim(), f = 0;
|
|
49506
49503
|
if (this.options.pedantic ? (f = 2, c = d.trimStart()) : R ? f = t[1].length + 1 : (f = d.search(this.rules.other.nonSpaceChar), f = f > 4 ? 1 : f, c = d.slice(f), f += t[1].length), R && this.rules.other.blankLine.test(h) && (p += h + `
|
|
49507
49504
|
`, e = e.substring(h.length + 1), l = true), !l) {
|
|
49508
|
-
let S = this.rules.other.nextBulletRegex(f),
|
|
49505
|
+
let S = this.rules.other.nextBulletRegex(f), Y = this.rules.other.hrRegex(f), ee = this.rules.other.fencesBeginRegex(f), te = this.rules.other.headingBeginRegex(f), me = this.rules.other.htmlBeginRegex(f), xe = this.rules.other.blockquoteBeginRegex(f);
|
|
49509
49506
|
for (;e; ) {
|
|
49510
|
-
let
|
|
49511
|
-
`, 1)[0],
|
|
49512
|
-
if (h =
|
|
49507
|
+
let Z = e.split(`
|
|
49508
|
+
`, 1)[0], A;
|
|
49509
|
+
if (h = Z, this.options.pedantic ? (h = h.replace(this.rules.other.listReplaceNesting, " "), A = h) : A = h.replace(this.rules.other.tabCharGlobal, " "), ee.test(h) || te.test(h) || me.test(h) || xe.test(h) || S.test(h) || Y.test(h))
|
|
49513
49510
|
break;
|
|
49514
|
-
if (
|
|
49511
|
+
if (A.search(this.rules.other.nonSpaceChar) >= f || !h.trim())
|
|
49515
49512
|
c += `
|
|
49516
|
-
` +
|
|
49513
|
+
` + A.slice(f);
|
|
49517
49514
|
else {
|
|
49518
|
-
if (R || d.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 ||
|
|
49515
|
+
if (R || d.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || ee.test(d) || te.test(d) || Y.test(d))
|
|
49519
49516
|
break;
|
|
49520
49517
|
c += `
|
|
49521
49518
|
` + h;
|
|
49522
49519
|
}
|
|
49523
|
-
R = !h.trim(), p +=
|
|
49524
|
-
`, e = e.substring(
|
|
49520
|
+
R = !h.trim(), p += Z + `
|
|
49521
|
+
`, e = e.substring(Z.length + 1), d = A.slice(f);
|
|
49525
49522
|
}
|
|
49526
49523
|
}
|
|
49527
49524
|
i.loose || (a ? i.loose = true : this.rules.other.doubleBlankLine.test(p) && (a = true)), i.items.push({ type: "list_item", raw: p, task: !!this.options.gfm && this.rules.other.listIsTask.test(c), loose: false, text: c, tokens: [] }), i.raw += p;
|
|
@@ -49578,7 +49575,7 @@ ${c}` : c;
|
|
|
49578
49575
|
let t = this.rules.block.table.exec(e);
|
|
49579
49576
|
if (!t || !this.rules.other.tableDelimiter.test(t[2]))
|
|
49580
49577
|
return;
|
|
49581
|
-
let n =
|
|
49578
|
+
let n = V(t[1]), r = t[2].replace(this.rules.other.tableAlignChars, "").split("|"), i = t[3]?.trim() ? t[3].replace(this.rules.other.tableRowBlankLine, "").split(`
|
|
49582
49579
|
`) : [], s = { type: "table", raw: t[0], header: [], align: [], rows: [] };
|
|
49583
49580
|
if (n.length === r.length) {
|
|
49584
49581
|
for (let a of r)
|
|
@@ -49586,14 +49583,16 @@ ${c}` : c;
|
|
|
49586
49583
|
for (let a = 0;a < n.length; a++)
|
|
49587
49584
|
s.header.push({ text: n[a], tokens: this.lexer.inline(n[a]), header: true, align: s.align[a] });
|
|
49588
49585
|
for (let a of i)
|
|
49589
|
-
s.rows.push(
|
|
49586
|
+
s.rows.push(V(a, s.header.length).map((o, l) => ({ text: o, tokens: this.lexer.inline(o), header: false, align: s.align[l] })));
|
|
49590
49587
|
return s;
|
|
49591
49588
|
}
|
|
49592
49589
|
}
|
|
49593
49590
|
lheading(e) {
|
|
49594
49591
|
let t = this.rules.block.lheading.exec(e);
|
|
49595
|
-
if (t)
|
|
49596
|
-
|
|
49592
|
+
if (t) {
|
|
49593
|
+
let n = t[1].trim();
|
|
49594
|
+
return { type: "heading", raw: t[0], depth: t[2].charAt(0) === "=" ? 1 : 2, text: n, tokens: this.lexer.inline(n) };
|
|
49595
|
+
}
|
|
49597
49596
|
}
|
|
49598
49597
|
paragraph(e) {
|
|
49599
49598
|
let t = this.rules.block.paragraph.exec(e);
|
|
@@ -49625,11 +49624,11 @@ ${c}` : c;
|
|
|
49625
49624
|
if (!this.options.pedantic && this.rules.other.startAngleBracket.test(n)) {
|
|
49626
49625
|
if (!this.rules.other.endAngleBracket.test(n))
|
|
49627
49626
|
return;
|
|
49628
|
-
let s =
|
|
49627
|
+
let s = I(n.slice(0, -1), "\\");
|
|
49629
49628
|
if ((n.length - s.length) % 2 === 0)
|
|
49630
49629
|
return;
|
|
49631
49630
|
} else {
|
|
49632
|
-
let s =
|
|
49631
|
+
let s = de(t[2], "()");
|
|
49633
49632
|
if (s === -2)
|
|
49634
49633
|
return;
|
|
49635
49634
|
if (s > -1) {
|
|
@@ -49643,7 +49642,7 @@ ${c}` : c;
|
|
|
49643
49642
|
s && (r = s[1], i = s[3]);
|
|
49644
49643
|
} else
|
|
49645
49644
|
i = t[3] ? t[3].slice(1, -1) : "";
|
|
49646
|
-
return r = r.trim(), this.rules.other.startAngleBracket.test(r) && (this.options.pedantic && !this.rules.other.endAngleBracket.test(n) ? r = r.slice(1) : r = r.slice(1, -1)),
|
|
49645
|
+
return r = r.trim(), this.rules.other.startAngleBracket.test(r) && (this.options.pedantic && !this.rules.other.endAngleBracket.test(n) ? r = r.slice(1) : r = r.slice(1, -1)), fe(t, { href: r && r.replace(this.rules.inline.anyPunctuation, "$1"), title: i && i.replace(this.rules.inline.anyPunctuation, "$1") }, t[0], this.lexer, this.rules);
|
|
49647
49646
|
}
|
|
49648
49647
|
}
|
|
49649
49648
|
reflink(e, t) {
|
|
@@ -49654,14 +49653,14 @@ ${c}` : c;
|
|
|
49654
49653
|
let s = n[0].charAt(0);
|
|
49655
49654
|
return { type: "text", raw: s, text: s };
|
|
49656
49655
|
}
|
|
49657
|
-
return
|
|
49656
|
+
return fe(n, i, n[0], this.lexer, this.rules);
|
|
49658
49657
|
}
|
|
49659
49658
|
}
|
|
49660
49659
|
emStrong(e, t, n = "") {
|
|
49661
49660
|
let r = this.rules.inline.emStrongLDelim.exec(e);
|
|
49662
|
-
if (!r || r[3] && n.match(this.rules.other.unicodeAlphaNumeric))
|
|
49661
|
+
if (!r || !r[1] && !r[2] && !r[3] && !r[4] || r[4] && n.match(this.rules.other.unicodeAlphaNumeric))
|
|
49663
49662
|
return;
|
|
49664
|
-
if (!(r[1] || r[
|
|
49663
|
+
if (!(r[1] || r[3] || "") || !n || this.rules.inline.punctuation.exec(n)) {
|
|
49665
49664
|
let s = [...r[0]].length - 1, a, o, l = s, p = 0, c = r[0][0] === "*" ? this.rules.inline.emStrongRDelimAst : this.rules.inline.emStrongRDelimUnd;
|
|
49666
49665
|
for (c.lastIndex = 0, t = t.slice(-1 * e.length + s);(r = c.exec(t)) != null; ) {
|
|
49667
49666
|
if (a = r[1] || r[2] || r[3] || r[4] || r[5] || r[6], !a)
|
|
@@ -49758,11 +49757,11 @@ var x = class u {
|
|
|
49758
49757
|
tokenizer;
|
|
49759
49758
|
constructor(e) {
|
|
49760
49759
|
this.tokens = [], this.tokens.links = Object.create(null), this.options = e || T, this.options.tokenizer = this.options.tokenizer || new w, this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = { inLink: false, inRawBlock: false, top: true };
|
|
49761
|
-
let t = { other: m, block:
|
|
49762
|
-
this.options.pedantic ? (t.block =
|
|
49760
|
+
let t = { other: m, block: B.normal, inline: E.normal };
|
|
49761
|
+
this.options.pedantic ? (t.block = B.pedantic, t.inline = E.pedantic) : this.options.gfm && (t.block = B.gfm, this.options.breaks ? t.inline = E.breaks : t.inline = E.gfm), this.tokenizer.rules = t;
|
|
49763
49762
|
}
|
|
49764
49763
|
static get rules() {
|
|
49765
|
-
return { block:
|
|
49764
|
+
return { block: B, inline: E };
|
|
49766
49765
|
}
|
|
49767
49766
|
static lex(e, t) {
|
|
49768
49767
|
return new u(t).lex(e);
|
|
@@ -49780,7 +49779,7 @@ var x = class u {
|
|
|
49780
49779
|
return this.inlineQueue = [], this.tokens;
|
|
49781
49780
|
}
|
|
49782
49781
|
blockTokens(e, t = [], n = false) {
|
|
49783
|
-
for (this.options.pedantic && (e = e.replace(m.tabCharGlobal, " ").replace(m.spaceLine, ""));e; ) {
|
|
49782
|
+
for (this.tokenizer.lexer = this, this.options.pedantic && (e = e.replace(m.tabCharGlobal, " ").replace(m.spaceLine, ""));e; ) {
|
|
49784
49783
|
let r;
|
|
49785
49784
|
if (this.options.extensions?.block?.some((s) => (r = s.call({ lexer: this }, e, t)) ? (e = e.substring(r.raw.length), t.push(r), true) : false))
|
|
49786
49785
|
continue;
|
|
@@ -49880,6 +49879,7 @@ var x = class u {
|
|
|
49880
49879
|
return this.inlineQueue.push({ src: e, tokens: t }), t;
|
|
49881
49880
|
}
|
|
49882
49881
|
inlineTokens(e, t = []) {
|
|
49882
|
+
this.tokenizer.lexer = this;
|
|
49883
49883
|
let n = e, r = null;
|
|
49884
49884
|
if (this.tokens.links) {
|
|
49885
49885
|
let o = Object.keys(this.tokens.links);
|
|
@@ -50068,7 +50068,7 @@ ${e}</tr>
|
|
|
50068
50068
|
return `<del>${this.parser.parseInline(e)}</del>`;
|
|
50069
50069
|
}
|
|
50070
50070
|
link({ href: e, title: t, tokens: n }) {
|
|
50071
|
-
let r = this.parser.parseInline(n), i =
|
|
50071
|
+
let r = this.parser.parseInline(n), i = J(e);
|
|
50072
50072
|
if (i === null)
|
|
50073
50073
|
return r;
|
|
50074
50074
|
e = i;
|
|
@@ -50077,7 +50077,7 @@ ${e}</tr>
|
|
|
50077
50077
|
}
|
|
50078
50078
|
image({ href: e, title: t, text: n, tokens: r }) {
|
|
50079
50079
|
r && (n = this.parser.parseInline(r, this.parser.textRenderer));
|
|
50080
|
-
let i =
|
|
50080
|
+
let i = J(e);
|
|
50081
50081
|
if (i === null)
|
|
50082
50082
|
return O(n);
|
|
50083
50083
|
e = i;
|
|
@@ -50134,6 +50134,7 @@ var b = class u2 {
|
|
|
50134
50134
|
return new u2(t).parseInline(e);
|
|
50135
50135
|
}
|
|
50136
50136
|
parse(e) {
|
|
50137
|
+
this.renderer.parser = this;
|
|
50137
50138
|
let t = "";
|
|
50138
50139
|
for (let n = 0;n < e.length; n++) {
|
|
50139
50140
|
let r = e[n];
|
|
@@ -50205,6 +50206,7 @@ var b = class u2 {
|
|
|
50205
50206
|
return t;
|
|
50206
50207
|
}
|
|
50207
50208
|
parseInline(e, t = this.renderer) {
|
|
50209
|
+
this.renderer.parser = this;
|
|
50208
50210
|
let n = "";
|
|
50209
50211
|
for (let r = 0;r < e.length; r++) {
|
|
50210
50212
|
let i = e[r];
|
|
@@ -50299,7 +50301,7 @@ var P = class {
|
|
|
50299
50301
|
return this.block ? b.parse : b.parseInline;
|
|
50300
50302
|
}
|
|
50301
50303
|
};
|
|
50302
|
-
var
|
|
50304
|
+
var D = class {
|
|
50303
50305
|
defaults = M();
|
|
50304
50306
|
options = this.setOptions;
|
|
50305
50307
|
parse = this.parseMarkdown(true);
|
|
@@ -50479,7 +50481,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
|
|
|
50479
50481
|
};
|
|
50480
50482
|
}
|
|
50481
50483
|
};
|
|
50482
|
-
var L = new
|
|
50484
|
+
var L = new D;
|
|
50483
50485
|
function g(u3, e) {
|
|
50484
50486
|
return L.parse(u3, e);
|
|
50485
50487
|
}
|
|
@@ -50504,15 +50506,15 @@ g.lexer = x.lex;
|
|
|
50504
50506
|
g.Tokenizer = w;
|
|
50505
50507
|
g.Hooks = P;
|
|
50506
50508
|
g.parse = g;
|
|
50507
|
-
var
|
|
50508
|
-
var
|
|
50509
|
-
var
|
|
50510
|
-
var
|
|
50511
|
-
var
|
|
50512
|
-
var
|
|
50513
|
-
var
|
|
50514
|
-
|
|
50515
|
-
// ../../node_modules/.bun/marked-highlight@2.2.3+
|
|
50509
|
+
var Qt = g.options;
|
|
50510
|
+
var jt = g.setOptions;
|
|
50511
|
+
var Ft = g.use;
|
|
50512
|
+
var Ut = g.walkTokens;
|
|
50513
|
+
var Kt = g.parseInline;
|
|
50514
|
+
var Xt = b.parse;
|
|
50515
|
+
var Jt = x.lex;
|
|
50516
|
+
|
|
50517
|
+
// ../../node_modules/.bun/marked-highlight@2.2.3+0430339b180635dd/node_modules/marked-highlight/src/index.js
|
|
50516
50518
|
function markedHighlight(options) {
|
|
50517
50519
|
if (typeof options === "function") {
|
|
50518
50520
|
options = {
|
|
@@ -50858,7 +50860,7 @@ var atomOneLight = `
|
|
|
50858
50860
|
|
|
50859
50861
|
// src/el-dm-markdown.ts
|
|
50860
50862
|
var coreStyles = import_markdown_body.css.replace(/@layer\s+components\s*\{/, "").replace(/\}\s*$/, "");
|
|
50861
|
-
var markedInstance = new
|
|
50863
|
+
var markedInstance = new D(markedHighlight({
|
|
50862
50864
|
langPrefix: "hljs language-",
|
|
50863
50865
|
highlight(code, lang) {
|
|
50864
50866
|
const language = es_default.getLanguage(lang) ? lang : "plaintext";
|
|
@@ -51404,5 +51406,5 @@ function register() {
|
|
|
51404
51406
|
// src/register.ts
|
|
51405
51407
|
register();
|
|
51406
51408
|
|
|
51407
|
-
//# debugId=
|
|
51409
|
+
//# debugId=6C29DEBAA330AC3864756E2164756E21
|
|
51408
51410
|
//# sourceMappingURL=register.js.map
|