miniblog.
← Back to all posts
Wilfred Hughes
Jul 4, 2019 at 00:09
Commonmark.js has a lovely feature that's rare in markdown renderers: it exposes an AST!
https://github.com/commonmark/commonmark.js/#usage
This makes it so much easier to extend/modify the syntax in a robust manner.
GitHub - commonmark/commonmark.js: CommonMark parser and renderer in JavaScript
CommonMark parser and renderer in JavaScript. Contribute to commonmark/commonmark.js development by creating an account on GitHub.