diff options
Diffstat (limited to 'js/lib/index.js')
-rwxr-xr-x | js/lib/index.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/lib/index.js b/js/lib/index.js index d78a5b2..86eea71 100755 --- a/js/lib/index.js +++ b/js/lib/index.js @@ -7,11 +7,11 @@ // Basic usage: // // var commonmark = require('commonmark'); -// var parser = new commonmark.DocParser(); +// var parser = new commonmark.Parser(); // var renderer = new commonmark.HtmlRenderer(); // console.log(renderer.render(parser.parse('Hello *world*'))); module.exports.Node = require('./node'); -module.exports.DocParser = require('./blocks'); +module.exports.Parser = require('./blocks'); module.exports.HtmlRenderer = require('./html'); module.exports.XmlRenderer = require('./xml'); |