Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Line break clarification #177

Open
ghost opened this issue Oct 18, 2023 · 3 comments
Open

Line break clarification #177

ghost opened this issue Oct 18, 2023 · 3 comments

Comments

@ghost
Copy link

ghost commented Oct 18, 2023

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?

@mcm1957
Copy link

mcm1957 commented Oct 18, 2023

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

@mattcone
Copy link
Owner

@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.

@ghost
Copy link
Author

ghost commented Oct 23, 2023

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.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants