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

Function processAllTokens

test/unit/Hooks.test.js:111–114  ·  view source on GitHub ↗
(tokens)

Source from the content-addressed store, hash-verified

109 marked.use({
110 hooks: {
111 processAllTokens(tokens) {
112 tokens.push(createHeadingToken('processAllTokens'));
113 return tokens;
114 },
115 },
116 walkTokens(token) {
117 if (token.type === 'heading') {

Callers

nothing calls this directly

Calls 2

timeoutFunction · 0.90
createHeadingTokenFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…