lowdown
lowdown copied to clipboard
Render back to markdown
It would be nice to render the AST back to markdown. This has two purposes:
-
Test round trips. If we render then parse and AST, and we should get the same AST we started with.
-
In conjunction with https://github.com/kristapsdz/lowdown/issues/131 not all ASTs will have come from the parser, so rendering an AST to markdown is a useful way to programmatically create markdown.
I see your point, but it's unlikely I'll do this myself. I'm happy to review and merge patches for this, however.