summaryrefslogtreecommitdiffstats
path: root/packages/gitbook-asciidoc/lib/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gitbook-asciidoc/lib/index.js')
-rwxr-xr-xpackages/gitbook-asciidoc/lib/index.js11
1 files changed, 4 insertions, 7 deletions
diff --git a/packages/gitbook-asciidoc/lib/index.js b/packages/gitbook-asciidoc/lib/index.js
index a7c478c..f9314ba 100755
--- a/packages/gitbook-asciidoc/lib/index.js
+++ b/packages/gitbook-asciidoc/lib/index.js
@@ -1,8 +1,5 @@
+var htmlParser = require('gitbook-html');
+var toHTML = require('./tohtml');
+var toAsciidoc = require('./toasciidoc');
-module.exports = {
- summary: require("./summary"),
- glossary: require("./glossary"),
- langs: require("./langs"),
- readme: require("./readme"),
- page: require("./page")
-};
+module.exports = htmlParser.createParser(toHTML, toAsciidoc);