MCPcopy Create free account
hub / github.com/027xiguapi/code-box / downloadMarkdown

Function downloadMarkdown

contents/weixin.tsx:278–284  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

276 }
277
278 async function downloadMarkdown() {
279 await scrollToLoadImages()
280
281 const html = document.querySelector("#img-content")
282 const markdown = turndownService.turndown(html)
283 await saveMarkdown(markdown, articleTitle)
284 }
285
286 async function downloadMarkdownWithImages(
287 onProgress?: (current: number, total: number) => void

Callers 1

PlasmoOverlayFunction · 0.70

Calls 2

scrollToLoadImagesFunction · 0.85
saveMarkdownFunction · 0.85

Tested by

no test coverage detected