Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/markedjs/marked
/ provideLexer
Function
provideLexer
test/unit/Hooks.test.js:197–199 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
195
marked.use({
196
hooks: {
197
provideLexer() {
198
return
(src) => [createHeadingToken(src)];
199
},
200
},
201
});
202
const
html = marked.parse(
'text'
);
Callers
nothing calls this directly
Calls
2
timeout
Function · 0.90
createHeadingToken
Function · 0.85
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…