Notes/test/turndown-plugin-gfm-test.js

14 lines
370 B
JavaScript
Raw Normal View History

2017-11-10 14:21:46 +00:00
var Attendant = require('turndown-attendant')
var TurndownService = require('../../to-markdown/lib/turndown.cjs')
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()