noteworthy
noteworthy copied to clipboard
[Markdown] Pro / Con Lists
The transition from markdown-it to remark required temporarily disabling pro/con lists. Restoring them will require a custom extension to mdast that reads the listItemMarker tokens produced by micromark, and adds them to the mdast syntax trees.
Based on the code at mdast-util-from-markdown, it looks like mdast plugins can override existing node enter/exit handlers.
winter
+ snowmen
+ sledding
- cold
- dark
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.