Open benrbray opened 3 years ago
This should have been fixed by my remark-concrete
plugin added by #13 . The corresponding test cases pass. At the moment, pro/con lists are parsed/serialized correctly, but any new pro/con lists created in the ProseMirror editor are serialized as regular lists. Needs further investigation.
The transition from
markdown-it
toremark
required temporarily disabling pro/con lists. Restoring them will require a custom extension tomdast
that reads thelistItemMarker
tokens produced bymicromark
, and adds them to themdast
syntax trees.Based on the code at
mdast-util-from-markdown
, it looks likemdast
plugins can override existing node enter/exit handlers.