summaryrefslogtreecommitdiff
path: root/js/bin/commonmark
AgeCommit message (Collapse)Author
2015-01-09Use linked list instead of arrays for AST.John MacFarlane
Use the same doubly linked node structure that cmark uses. The primary advantages of this change are (a) simplified code, especially in the renderers, and (b) elimination of the need for recursion, so we can render deeply-nested structures without a stack overflow. A node walker has also been added, for easy AST traversal. * Added js/lib/node.js for nodes. Includes a node walker. * All modules updated to use node structures. * Regularized position information into pos property. * Performance is slightly worse than before, but only marginally, and no doubt there are more optimizations that can be done.
2014-12-10Fixed linter errors in js/bin/commonmark, js/test.js.John MacFarlane
2014-10-24Rename js/bin/markdown -> js/bin/commonmark.John MacFarlane