You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm looking for a way to safely translate existing Markdown documents without risking syntax issues introduced by human error. It seems that your roundtrip support would be perfect for this - in essence, I've been thinking of parsing the document in question with markdig and localizing only selected strings within the AST. That would alleviate the risk of someone accidentally deleting emphasis, inserting an empty line or deleting some significant HTML comment etc.
Translation itself would need to be performed in some other designated system, so I would need to output the generated document tree to some other format and deserialize it afterwards. Do You think it would be possible to serialize an AST of MarkdownDocument into an XML file?
The text was updated successfully, but these errors were encountered:
Hi,
I'm looking for a way to safely translate existing Markdown documents without risking syntax issues introduced by human error. It seems that your roundtrip support would be perfect for this - in essence, I've been thinking of parsing the document in question with markdig and localizing only selected strings within the AST. That would alleviate the risk of someone accidentally deleting emphasis, inserting an empty line or deleting some significant HTML comment etc.
Translation itself would need to be performed in some other designated system, so I would need to output the generated document tree to some other format and deserialize it afterwards. Do You think it would be possible to serialize an AST of MarkdownDocument into an XML file?
The text was updated successfully, but these errors were encountered: