This is a port the JavaScript reference implementation of the CommonMark spec.
- Current spec version version: 0.26
- Corresponding JS implementation commit: https://github.com/jgm/commonmark.js/commit/2a569ad9b4bb839e88bae03b4c1e5de176bcf357
It's currently only passes CommonMark spec tests on JavaScript and C# targets.
This is similar to the original JS version
var parser = new commonmark.Parser();
var ast = parser.parse("# Hello");
var writer = new commonmark.HtmlRenderer();
var html = writer.render(ast);