MCPcopy Create free account
hub / github.com/editablejs/editable / markdownToHtml

Function markdownToHtml

apps/docs/plugins/markdown-to-html.js:14–24  ·  view source on GitHub ↗
(markdown)

Source from the content-addressed store, hash-verified

12}
13
14async function markdownToHtml(markdown) {
15 const result = await remark()
16 .use(externalLinks)
17 .use(customHeaders)
18 .use(images)
19 .use(unrwapImages)
20 .use(smartyPants)
21 .use(html)
22 .process(markdown)
23 return result.toString()
24}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…