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

Function downloadMarkdown

contents/medium.tsx:153–157  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

151 }
152
153 function downloadMarkdown() {
154 const html = document.querySelector("article")
155 const markdown = turndownService.turndown(html)
156 saveMarkdown(markdown, articleTitle)
157 }
158
159 function downloadHtml() {
160 const dom = document.querySelector("article")

Callers 1

PlasmoOverlayFunction · 0.70

Calls 1

saveMarkdownFunction · 0.85

Tested by

no test coverage detected