Closed freb closed 4 years ago
Kunde21/markdownfmt seems what you want.
Thank you! That's exactly what I was looking for. I guess my question was timely since it looks like the conversion from blackfriday to goldmark took place earlier this month.
It would be nice to have a standard markdown renderer as part of the github.com/yuin/goldmark
module (which is excellent by the way) in order that you can simply round trip from markdown -> AST -> markdown
and get back to the same input.
It would be nice to have a standard markdown renderer as part of the
github.com/yuin/goldmark
module (which is excellent by the way) in order that you can simply round trip frommarkdown -> AST -> markdown
and get back to the same input.
Signal boosting this. While I understand that markdown has evolved over the years to be focused mostly on "processing" markdown into html, theres a burgeoning class of programs that use markdown basically as a data store ( e.g. wiki, notes, todo list management, etc ) that would greatly benefit from first class support for roundtripping back into markdown.
It would be nice to have a standard markdown renderer as part of the github.com/yuin/goldmark module (which is excellent by the way) in order that you can simply round trip from markdown -> AST -> markdown and get back to the same input.
Once again bumping this comment.
Same need here ;-)
I need to make some edits to a markdown document. The most correct approach seems to be parsing the document, altering the AST, then rendering the AST back into markdown text.
Do you know of a markdown renderer for goldmark?
Thank you for the project. And please let me know if there is a better/less annoying place to ask questions. I didn't see a Slack channel or any goldmark issues on Stack Overflow.