CommonMark (Java) Markdown *output*

I’m evaluating using CommonMark for a project I am working on, but one thing I need is the ability to render a Node tree as Markdown. It seems unusual for a DOM of any kind to not be able to render its original input format, so maybe I’m just not seeing it, but it really looks like it doesn’t have this capability.

Am I correct? Also, would this be a reasonable enhancement/GH issue?


The C implementation can do this. I imagine it would
be possible to add it to the Java implementation, but
their GH issue tracker would probably be the right place to
put this request.

David Lloyd writes:

1 Like

OK, I’ll open an issue there. Thanks.