(view)
| 849 | } |
| 850 | |
| 851 | export function exportToRawHTML (view) { |
| 852 | const filename = `${renderFilename(ui.area.markdown)}.html` |
| 853 | const src = generateCleanHTML(view) |
| 854 | $(src).find('a.anchor').remove() |
| 855 | const html = src[0].outerHTML |
| 856 | const blob = new Blob([html], { |
| 857 | type: 'text/html;charset=utf-8' |
| 858 | }) |
| 859 | saveAs(blob, filename, true) |
| 860 | } |
| 861 | |
| 862 | // extract markdown body to html and compile to template |
| 863 | export function exportToHTML (view) { |
no test coverage detected