SUMMARY *** If you have the option 'remove trailing spaces' on saving enabled, it interferes with markdown's double space for newline syntax. *** STEPS TO REPRODUCE 1. Have 'remove trailing spaces' in settings enabled 2. Edit a .md file, insert double space at end of line 3. Save OBSERVED RESULT The trailing spaces are removed, thus changing the document's formatting. EXPECTED RESULT It would be nice to have an exception for markdown files, as in any other situation I want this option enabled. SOFTWARE/OS VERSIONS (doubt this is related) Windows: 10 21H2 macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
In open/save settings, modes&filetype you can set variables per file type. Set there for markdown: remove-trailing-spaces: none;
One should set this to default.