summaryrefslogtreecommitdiff
path: root/js/lib/index.js
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-01-11 13:43:03 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-01-11 13:43:03 -0800
commitee812d1df1b237133dfaf490d6ff31f70dc73438 (patch)
tree854dd5828cd390430c8a59a70b6084a02c9e9c37 /js/lib/index.js
parentd012cefdee6235e107372dd939498a0ca107d7e0 (diff)
Start on xml.js.
Just the skeleton, mostly copied from HTML renderer. Can be simplified because of the regularity of the XML format. See #280.
Diffstat (limited to 'js/lib/index.js')
-rwxr-xr-xjs/lib/index.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/lib/index.js b/js/lib/index.js
index 22a2184..b309311 100755
--- a/js/lib/index.js
+++ b/js/lib/index.js
@@ -16,6 +16,7 @@ var util = require('util');
module.exports.Node = require('./node');
module.exports.DocParser = require('./blocks');
module.exports.HtmlRenderer = require('./html');
+module.exports.XMLRenderer = require('./xml');
module.exports.ASTRenderer = function(options) {
return {
render: function(tree) {