summaryrefslogtreecommitdiffstats
path: root/packages/gitbook-asciidoc/src/index.js
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2016-12-22 12:31:22 +0100
committerSamy Pessé <samypesse@gmail.com>2016-12-22 12:31:22 +0100
commiteb0bf31baa6cb903ba4242ae5a3866ff67aeb97c (patch)
treee2347c9e8c58dd3c2681a6028b5f8d69c40d4e04 /packages/gitbook-asciidoc/src/index.js
parent1c1e58b8641cac34b5f3d7c05951f507557fcb1a (diff)
downloadgitbook-eb0bf31baa6cb903ba4242ae5a3866ff67aeb97c.zip
gitbook-eb0bf31baa6cb903ba4242ae5a3866ff67aeb97c.tar.gz
gitbook-eb0bf31baa6cb903ba4242ae5a3866ff67aeb97c.tar.bz2
Import gitbook-asciidoc
Diffstat (limited to 'packages/gitbook-asciidoc/src/index.js')
-rwxr-xr-xpackages/gitbook-asciidoc/src/index.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/gitbook-asciidoc/src/index.js b/packages/gitbook-asciidoc/src/index.js
new file mode 100755
index 0000000..9ba30e7
--- /dev/null
+++ b/packages/gitbook-asciidoc/src/index.js
@@ -0,0 +1,5 @@
+const HTMLParser = require('gitbook-html');
+const toHTML = require('./toHTML');
+const toAsciidoc = require('./toAsciidoc');
+
+module.exports = HTMLParser.createParser(toHTML, toAsciidoc);