Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Intellij markdown line wrap adding space

Please see the below images.

The first image shows the issue at hand; When writing a markdown file with the markdown plugin in intellij, the line wrapping adds a space at the beginning of the next line, and it accumulates for each new line. The bottom three images shows what I believe are the relevant settings.

Any idea why these extra spaces are being added? Is it a bug or a problem with my settings? It is really annoying having to always go back and delete the extra spaces.

Illustrates the issue with spaces being added when line wrapping

Settings

Settings

Settings

like image 927
rindis Avatar asked Aug 22 '26 20:08

rindis


1 Answers

This is the bug: https://youtrack.jetbrains.com/issue/IDEA-220392

You can disable hard wrap for Markdown (Preferences | Editor | Code Style | Markdown > Wrap on typing) and use only soft wrap (Preferences | Editor | General > Soft Wraps)

like image 199
Konstantin Annikov Avatar answered Aug 26 '26 22:08

Konstantin Annikov



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!