Closed Zoramite closed 1 year ago
These are intended to be internal. Did you need them for something specific in your code?
I am trying to do something like the ordered lists. I use typescript and the type definition will not allow 'unofficial' argument definitions for methods, only the official documented function calls. So I wanted to update the docs to match what is actually happening with the argument list.
So you have a different kind of list, which needs a custom serializer, but you do need to implement markdown-style list tightness for it?
In the code, the
getAttrs
is passed thetoken
,tokens
, andindex
, but the docs only specify the token as a valid argument.https://github.com/ProseMirror/prosemirror-markdown/blob/master/src/from_markdown.js#L84