ProseMirror / prosemirror-markdown

ProseMirror Markdown integration
https://prosemirror.net
MIT License
344 stars 81 forks source link

Link is split into multiple ones #77

Closed susnux closed 2 years ago

susnux commented 2 years ago

From commonmark spec example 515:

[link *foo **bar** `#`*](/uri)

Which correctly results in:

<p><a href="/uri">link <em>foo <strong>bar</strong> <code>#</code></em></a></p>

But the serialization of it using prosemirror-markdown results in this markdown which is definitely a different markdown:

[link ](/uri)*[foo](/uri) **[bar ](/uri)**[`#`](/uri)*

markdown is split into multiple links