summaryrefslogtreecommitdiffstats
path: root/packages/gitbook-markdown/lib/index.js
blob: 49edee65d5524aa00f9a64408804813c19d0c508 (plain)
1
2
3
4
5
6
7
8
9
10
var HTMLParser = require('gitbook-html');

var toHTML = require('./tohtml');
var toMarkdown = require('./toMarkdown');
var page = require('./page');

module.exports = HTMLParser.createParser(toHTML, toMarkdown);

// Add the custom page escaping
module.exports.page.prepare = page.prepare;