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

Function downloadMarkdown

contents/360doc.tsx:81–85  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

79 }
80
81 function downloadMarkdown() {
82 const html = document.querySelector("#bgchange")
83 const markdown = turndownService.turndown(html)
84 saveMarkdown(markdown, articleTitle)
85 }
86
87 function downloadHtml() {
88 const dom = document.querySelector("#bgchange")

Callers 1

PlasmoOverlayFunction · 0.70

Calls 1

saveMarkdownFunction · 0.85

Tested by

no test coverage detected