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

Function downloadMarkdown

contents/paywallbuster.tsx:103–107  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

101 }
102
103 function downloadMarkdown() {
104 const html = document.querySelector("article")
105 const markdown = turndownService.turndown(html)
106 saveMarkdown(markdown, articleTitle)
107 }
108
109 function downloadHtml() {
110 const dom = document.querySelector("article")

Callers 1

PlasmoOverlayFunction · 0.70

Calls 1

saveMarkdownFunction · 0.85

Tested by

no test coverage detected