You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.
Hi
Currently the editor doesn't seem to support hard line breaks the CommonMark way. That is, a double space or a backslash before a linebreak should be rendered as a <br/>.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi
Currently the editor doesn't seem to support hard line breaks the CommonMark way. That is, a double space or a backslash before a linebreak should be rendered as a <br/>.
https://spec.commonmark.org/0.29/#hard-line-breaks
Example using a plain textarea, the MarkDownIt renderer and rich-markdown-editor:
As you can see, rich-markdown-editor does not break the lines properly, but adds two linebreaks before the text instead
Beta Was this translation helpful? Give feedback.
All reactions