diff options
Diffstat (limited to 'js/bin')
-rwxr-xr-x | js/bin/commonmark | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/bin/commonmark b/js/bin/commonmark index 527e118..3bd1079 100755 --- a/js/bin/commonmark +++ b/js/bin/commonmark @@ -39,7 +39,7 @@ if (format === 'html') { renderer = new commonmark.XmlRenderer(options); } else if (format === 'ast') { renderer = { render: function(node) { - return util.inspect(node.toAST(), null, 20, true) + '\n'; + return util.inspect(node.toObject(), null, 20, true) + '\n'; }, options: {} }; } |