Make node serializer definitions explicit
What does this MR do and why?
Remove dependency on defaultMarkdownSerializer
in prosemirror-markdown
and inline node serializer definitions. This is the first step to completely remove dependency from the prosemirror-markdown
library.
Note: no tests are added because source is taken directly from https://github.com/ProseMirror/prosemirror-markdown/blob/master/src/to_markdown.ts and we have tests already covering this.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Himanshu Kapoor