1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-12-02 22:49:09 +02:00

Clipper: Added first files

This commit is contained in:
Laurent Cozic
2018-05-16 14:16:14 +01:00
parent 795fd8b58c
commit 6c5d208893
33 changed files with 22301 additions and 98 deletions

View File

@@ -0,0 +1,13 @@
const TurndownService = require('turndown')
class HtmlToMd {
parse(html) {
const turndownService = new TurndownService()
let markdown = turndownService.turndown(html)
return markdown;
}
}
module.exports = HtmlToMd;