On Tuesday, 19 February 2019 at 10:36:38 UTC, zoujiaqing wrote:
hunt-markdown is powerfull markdown spec parsing and randering
library for Dlang. It's fast and clean. Api design like java's
commonmark library.
example code:
```import hunt.markdown.node.Node;
import hunt.markdown.parser.Parser;
import hunt.markdown.renderer.html.HtmlRenderer;
Parser parser = Parser.builder().build();
Node document = parser.parse("This is *New*");
HtmlRenderer renderer = HtmlRenderer.builder().build();
renderer.render(document); // "<p>This is <em>New</em></p>\n"
```
More markdown spec like this:
https://spec.commonmark.org/0.28/
Github reposirory:
https://github.com/huntlabs/hunt-markdown
Very cool! I don't think we had a CommonMark parser.