Open romaricpascal opened 6 months ago
The parsing of HTML seems close to be a plugin that could be the first to run.
For the serialisation, we could use the handlers option of mdast-to-markdown to handle unknow nodes. This might require a little trickery and passing a Proxy to let us intercept unknown nodes, as the tool is harsh on unknown nodes.
handlers
The parsing of HTML seems close to be a plugin that could be the first to run.
For the serialisation, we could use the
handlers
option of mdast-to-markdown to handle unknow nodes. This might require a little trickery and passing a Proxy to let us intercept unknown nodes, as the tool is harsh on unknown nodes.