mattcone/markdown-guide

Line break clarification

Opened this issue · 3 comments

As commented here: 03c4fb3#r130312162

The explanation for line breaks says, To create a line break or new line (<br>), end a line with two or more spaces, and then type return.

What is end a line with two or more spaces, and then type return supposed to mean?

The last characters before the return must be two or more spaces.
i.e. 'some text #space character# #space character#'

@charles-plutohealth, I've created an example to help illustrate this. In the screenshot below, dots are spaces, and of course line 2 is a new line.

image

Here's the HTML that produces:

this is the first line with two spaces
<br />
and the next line

Does that make sense? I'm open to ideas about how to better explain this.

I see! Thanks a lot for the explanations, it makes sense now. It might be more clear to say:
To create a line break or new line, either end a line with two or more spaces followed by a new line, or use <br>
What threw me off most was type return rather than hit Enter.