MCPcopy
hub / github.com/markedjs/marked / inlineText

Method inlineText

src/Tokenizer.ts:950–961  ·  view source on GitHub ↗
(src: string)

Source from the content-addressed store, hash-verified

948 }
949
950 inlineText(src: string): Tokens.Text | undefined {
951 const cap = this.rules.inline.text.exec(src);
952 if (cap) {
953 const escaped = this.lexer.state.inRawBlock;
954 return {
955 type: 'text',
956 raw: cap[0],
957 text: cap[0],
958 escaped,
959 };
960 }
961 }
962}

Callers 2

marked.tsFile · 0.80
inlineTokensMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected