shuzijun / markdown-editor

IntelliJ Platform A full-featured WYSIWYG editor for markdown
https://plugins.jetbrains.com/plugin/17254-markdown-editor
Apache License 2.0
165 stars 35 forks source link

Editor remove \ line breaks and footnotes #122

Open winston-zillow opened 2 months ago

winston-zillow commented 2 months ago

Markdown allows explicit line break by adding \ to the end of a line. However, the Markdown Editor removes the trailing \. The editor can display these lines properly, but after making changes and save the document, the trailing backslashes are removed.

Likewise, the Editor removes footnotes.

See attached screenshots.

What the lines looks like in plaint text editor, before editing in ME:

Screenshot 2024-07-25 at 4 07 58 PM

...in viewer:

Screenshot 2024-07-25 at 4 07 28 PM

What the lines looks like in plaint text editor, after editing in ME:

Screenshot 2024-07-25 at 4 09 56 PM

... in viewer:

Screenshot 2024-07-25 at 4 27 47 PM