lowdown icon indicating copy to clipboard operation
lowdown copied to clipboard

Render back to markdown

Open Ericson2314 opened this issue 1 year ago • 1 comments

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.

Ericson2314 avatar Jan 12 '24 22:01 Ericson2314

I see your point, but it's unlikely I'll do this myself. I'm happy to review and merge patches for this, however.

kristapsdz avatar Oct 18 '24 23:10 kristapsdz