()
| 231 | } |
| 232 | |
| 233 | function downloadMarkdown() { |
| 234 | const html = document.querySelector<HTMLElement>("article .article-detail") |
| 235 | const markdown = turndownService.turndown(html) |
| 236 | saveMarkdown(markdown, articleTitle) |
| 237 | } |
| 238 | |
| 239 | function downloadHtml() { |
| 240 | const dom = document.querySelector<HTMLElement>("article .article-detail") |
no test coverage detected