mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-03 21:36:36 +00:00
Question: Is it possible to get Updated Markdown text from MarkdownDocument? #200
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @RickStrahl on GitHub (Apr 21, 2018).
I see that I can render a syntax tree to HTML, but diggning throgh the code I'm not seeing if there's a way to get Markdown back out after making changes to the sytnax tree.
Scenario:
I'm basically looking through a Markdown document and need to fix up a few links and images - so I iterate through the document and make changes to the inlines to fix up the links/images on MarkdownDocument. Parsing and updating works beautifully.
But I can't seem to find a way to now get back Markdown text from this. Should this be possible or am I just missing it?