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

14 lines
344 B
JavaScript
Raw Normal View History

2017-11-10 14:21:46 +00:00
var Attendant = require('turndown-attendant')
2017-12-15 08:45:56 +00:00
var TurndownService = require('turndown')
2017-11-10 14:21:46 +00:00
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()