added markdown export (#627)

This commit is contained in:
Philip Molares 2020-10-06 12:43:17 +02:00 committed by GitHub
parent 4984008aff
commit 9f7a106834
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 79 additions and 9 deletions

View file

@ -5,5 +5,5 @@ export const download = (data: BlobPart, fileName: string, mimeType: string): vo
helperElement.download = fileName
document.body.appendChild(helperElement)
helperElement.click()
helperElement.remove()
setTimeout(() => helperElement.remove(), 2000)
}