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

Method heading

web/marked.min.js:597–616  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

595 }
596 }
597 heading(e) {
598 let t = this.rules.block.heading.exec(e);
599 if (t) {
600 let n = t[2].trim();
601 if (this.rules.other.endingHash.test(n)) {
602 let s = A(n, "#");
603 (this.options.pedantic ||
604 !s ||
605 this.rules.other.endingSpaceChar.test(s)) &&
606 (n = s.trim());
607 }
608 return {
609 type: "heading",
610 raw: t[0],
611 depth: t[1].length,
612 text: n,
613 tokens: this.lexer.inline(n),
614 };
615 }
616 }
617 hr(e) {
618 let t = this.rules.block.hr.exec(e);
619 if (t)

Callers 2

blockTokensMethod · 0.80
parseMethod · 0.80

Calls 3

AFunction · 0.85
inlineMethod · 0.80
parseInlineMethod · 0.80

Tested by

no test coverage detected