cmark

My personal build of CMark ✏️

Commit
0905b173c63f902e6d7b51c948c8110e398a3742
Parent
0c0ae7a0962a7dce1b3328d95d96b9fde6c6cc52
Author
John MacFarlane <jgm@berkeley.edu>
Date

node.js: Added title and destination to list of props to show in toAST.

Diffstat

1 file changed, 1 insertion, 1 deletion

Status File Name N° Changes Insertions Deletions
Modified js/lib/node.js 2 1 1
diff --git a/js/lib/node.js b/js/lib/node.js
@@ -167,7 +167,7 @@ Node.prototype.walker = function() {
 var toASTNode = function(node) {
     var result = {};
     var propsToShow = ['t', 'literal', 'list_data', 'sourcepos',
-                       'info', 'level'];
+                       'info', 'level', 'title', 'destination'];
 
     for (var i = 0, len = propsToShow.length; i < len; i++) {
         var prop = propsToShow[i];