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

Method parse

src/Parser.ts:26–29  ·  view source on GitHub ↗

* Static Parse Method

(tokens: Token[], options?: MarkedOptions<ParserOutput, RendererOutput>)

Source from the content-addressed store, hash-verified

24 * Static Parse Method
25 */
26 static parse<ParserOutput = string, RendererOutput = string>(tokens: Token[], options?: MarkedOptions<ParserOutput, RendererOutput>) {
27 const parser = new _Parser<ParserOutput, RendererOutput>(options);
28 return parser.parse(tokens);
29 }
30
31 /**
32 * Static Parse Inline Method

Callers 15

esbuild.config.jsFile · 0.45
cjs-test.cjsFile · 0.45
umd-test.jsFile · 0.45
runBenchFunction · 0.45
marked.tsFile · 0.45
rendererFunction · 0.45
Hooks.test.jsFile · 0.45
marked.test.jsFile · 0.45
runTestFunction · 0.45
rendererFunction · 0.45
instance.test.jsFile · 0.45
markedFunction · 0.45

Calls 12

spaceMethod · 0.45
hrMethod · 0.45
headingMethod · 0.45
codeMethod · 0.45
tableMethod · 0.45
blockquoteMethod · 0.45
listMethod · 0.45
checkboxMethod · 0.45
htmlMethod · 0.45
defMethod · 0.45
paragraphMethod · 0.45
textMethod · 0.45

Tested by 2

runTestFunction · 0.36
rendererFunction · 0.36