Hi, I would like to know something about MarkdownSerializer.
According to the README of prosemirror-markdown, open and close of the marks can be defined as functions that take the following arguments
(state: MarkdownSerializerState, mark: Mark, parent: Fragment, index: number) → string
However, after reading the source code, I think that the parent argument passed to open() and close() is the parent: Node
of renderInline(parent: Node)
.
So I’m thinking that the type of parent
is likely to be of type Node, but there may be some information I’m not aware of, so if you could let me know, that would be great!