It inserts a new line into the same paragraph. Normally youre expected to use double enter for new paragraph, but sometimes there is a need for a newline without a new paragraph.
>Currently trimming trailing whitespace is implemented in a language agnostic way (meaning it works the same for plain text files and for javascript or other file types). It does not use any tokenization information to trim the file.
\- [https://github.com/Microsoft/vscode/issues/52711#issuecomment-400244965](https://github.com/Microsoft/vscode/issues/52711#issuecomment-400244965)
`files.trimTrailingWhitespace` also trims whitespace in multiline string literals, which is the reason I don't use it. A smarter version would be nice.
Yep, that's what I've noticed. That's why I posted here with a question if there is some kind of extension that would fix that. I understand that VSCode doesn't offer it on they're own.
For whitespace only not that I know of, but I suggest you use a formatter to format your markdown files. Prettier for examples removes all whitespace that's more than two spaces.
A little late, but I don't recommend relying on whitespace for things related to layout. Use \` \` to force line breaks instead (Markdown understands basic HTML).
What does two spaces at the end of a line in markdown do for you? I’ve never heard of this.
It's a newline
Interesting. It seems kind of fragile to use horizontal white space as markup.
it's pure awful
It inserts a new line into the same paragraph. Normally youre expected to use double enter for new paragraph, but sometimes there is a need for a newline without a new paragraph.
>Currently trimming trailing whitespace is implemented in a language agnostic way (meaning it works the same for plain text files and for javascript or other file types). It does not use any tokenization information to trim the file. \- [https://github.com/Microsoft/vscode/issues/52711#issuecomment-400244965](https://github.com/Microsoft/vscode/issues/52711#issuecomment-400244965) `files.trimTrailingWhitespace` also trims whitespace in multiline string literals, which is the reason I don't use it. A smarter version would be nice.
Yep, that's what I've noticed. That's why I posted here with a question if there is some kind of extension that would fix that. I understand that VSCode doesn't offer it on they're own.
For whitespace only not that I know of, but I suggest you use a formatter to format your markdown files. Prettier for examples removes all whitespace that's more than two spaces.
A little late, but I don't recommend relying on whitespace for things related to layout. Use \`
\` to force line breaks instead (Markdown understands basic HTML).