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

Function downloadMarkdown

contents/csdn.tsx:286–290  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

284 }
285
286 function downloadMarkdown() {
287 const html = document.querySelector(".blog-content-box")
288 const markdown = turndownService.turndown(html)
289 saveMarkdown(markdown, articleTitle)
290 }
291
292 function downloadHtml() {
293 const dom = document.querySelector(".blog-content-box")

Callers 1

PlasmoOverlayFunction · 0.70

Calls 1

saveMarkdownFunction · 0.85

Tested by

no test coverage detected