- Commit
- 1a034acee13576bc252ef1ca3f91d0d35ba9a85e
- Parent
- 8c7ca2e30044925bcf611ddc816580d6746c7101
- Author
- John MacFarlane <jgm@berkeley.edu>
- Date
Updated renderAST in lib.
My personal build of CMark ✏️
Updated renderAST in lib.
1 file changed, 1 insertion, 1 deletion
Status | File Name | N° Changes | Insertions | Deletions |
Modified | js/lib/index.js | 2 | 1 | 1 |
diff --git a/js/lib/index.js b/js/lib/index.js @@ -14,7 +14,7 @@ var util = require('util'); var renderAST = function(tree) { - return util.inspect(tree, {depth: null}); + return util.inspect(tree.toAST(), {depth: null}); }; module.exports.Node = require('./node');