mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-10 02:02:29 +08:00
14 lines
344 B
JavaScript
14 lines
344 B
JavaScript
var Attendant = require('turndown-attendant')
|
|
var TurndownService = require('turndown')
|
|
var gfm = require('../lib/turndown-plugin-gfm.cjs').gfm
|
|
|
|
var attendant = new Attendant({
|
|
file: __dirname + '/index.html',
|
|
TurndownService: TurndownService,
|
|
beforeEach: function (turndownService) {
|
|
turndownService.use(gfm)
|
|
}
|
|
})
|
|
|
|
attendant.run()
|