ryanmcalister / unotes

Unotes Visual Studio Code Extension. A markdown WYSIWYG notes editor.
MIT License
173 stars 22 forks source link

Double space doesn't create newline #120

Open Dreded opened 2 years ago

Dreded commented 2 years ago

It seems that adding a double space or since its wysiwyg hitting enter doesn't create a newline. to clarify since its wysiwyg I would expect hitting Return on the KB to auto add two spaces and make a new line the empty space at the end of a line is being stripped.

This is a line
this is a line on that same line  <-Two empty spaces follow->  
but this would be a newline because the previous line ends in two or more spaces

Reference: https://daringfireball.net/projects/markdown/syntax#p

Especially annoying is that even if I add the two spaces manually to the .md file if I open it again in Unotes it culls the spaces

alzdfs commented 2 years ago

this is very important feature to add, because VSCode preview not shows new line correctly when unotes is used. please add this feature thanks @ryanmcalister

epikgit commented 7 months ago

I've already reported a similar issue here #146 but the union of the two problems makes it impossible to create a new line separator.

With the current UNotes version neither of these solution works to create a new line: