MCPcopy Create free account
hub / github.com/CreminiAI/skillpack / reflink

Method reflink

web/marked.min.js:1050–1067  ·  view source on GitHub ↗
(e, t)

Source from the content-addressed store, hash-verified

1048 }
1049 }
1050 reflink(e, t) {
1051 let n;
1052 if (
1053 (n = this.rules.inline.reflink.exec(e)) ||
1054 (n = this.rules.inline.nolink.exec(e))
1055 ) {
1056 let s = (n[2] || n[1]).replace(
1057 this.rules.other.multipleSpaceGlobal,
1058 " ",
1059 ),
1060 i = t[s.toLowerCase()];
1061 if (!i) {
1062 let r = n[0].charAt(0);
1063 return { type: "text", raw: r, text: r };
1064 }
1065 return me(n, i, n[0], this.lexer, this.rules);
1066 }
1067 }
1068 emStrong(e, t, n = "") {
1069 let s = this.rules.inline.emStrongLDelim.exec(e);
1070 if (!s || (s[3] && n.match(this.rules.other.unicodeAlphaNumeric)))

Callers 1

inlineTokensMethod · 0.80

Calls 1

meFunction · 0.85

Tested by

no test coverage detected