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 unsure about this, because this is just the tip of the iceberg. Was a character escaped or not in the source? How much indentation was used before a list item? How many backticks were used in the code block? Was a reference or inline link used? Etc. Once you start going down this path, you're looking at a very different kind of parser output, a concrete syntax tree rather than an abstract one.
I'm making a renderer that will modify a tree in-place, but can roundtrip MarkDown back to the same MarkDown (or mostly the same).
There is some information missing from the parsed nodes that would be useful reconstructing the original document. In particular:
code_block
was originally fenced or indented.*
or_
.Can these be added to the parse nodes?
The text was updated successfully, but these errors were encountered: