tpope / vim-markdown

Vim Markdown runtime files
1.22k stars 191 forks source link

Line break syntax #181

Closed esdnm closed 7 months ago

esdnm commented 2 years ago

For line break Commonmark has

For a more visible alternative, a backslash before the line ending may be used instead of two spaces:

Since most of Markdown implementations support Commonmark, should markdownLineBreak include support for \?

tpope commented 2 years ago

My gut reaction is that we should not group these two together, because highlighting something invisible requires a background color, which is generally something you only want to do as a last resort. Open to hearing other opinions on this.

And if we don't group them together, what should we use instead? I'm thinking markdownEscape is the most natural choice.

esdnm commented 1 year ago

@tpope any thoughts?