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

Function preprocess

test/unit/Hooks.test.js:27–29  ·  view source on GitHub ↗
(markdown)

Source from the content-addressed store, hash-verified

25 marked.use({
26 hooks: {
27 preprocess(markdown) {
28 return `# preprocess\n\n${markdown}`;
29 },
30 },
31 });
32 const html = marked.parse('*text*');

Callers

nothing calls this directly

Calls 1

timeoutFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…