index.js 335 B

12345678910
  1. var { createParser } = require("@honkit/html");
  2. var toHTML = require("./toHTML");
  3. var toMarkdown = require("./toMarkdown");
  4. var page = require("./page");
  5. module.exports = createParser(toHTML, toMarkdown);
  6. // Add the custom page escaping
  7. // TODO: remove it. use parser.page.prepare instead
  8. module.exports.page.prepare = page.prepare;