ProseMirror / prosemirror-markdown

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

Don' escape `+++` at the start of a line when serializing #113

Closed remorses closed 1 year ago

remorses commented 1 year ago

Some markdown renderers use these sequences for custom elements, for example retype tabs

Multiple + should be safe in commonmark

I can open a PR if you agree

marijnh commented 1 year ago

Sure, a PR that makes the escaping of + list markers happen only when they are followed by a space would work for me.