How to do a single newline?
-
15-06-2021 - |
题
How do I do a single newline/carriage return when typing a question or answer?
For example, if I wanted to write some columns with values as in an Excel spreadsheet. I see people do it all the time, but I don't know how. I read the formatting tips and all about the blockquote stuff... did some google'ing, but I still haven't found out how.
The only way I know to do newlines is by pressing the Enter key twice, which makes a new paragraph, creating an empty line, which is not what I want.
解决方案
You can type two spaces
and press Enter.
Like so.
I wanted to write some columns with values as in an Excel spreadsheet
For longer/pasted text, you can also format as code in many ways, like by indenting with 4 spaces, or by using <pre></pre>
tags (which need manual encoding of HTML), like so:
Column 1 Column 2 Column 3 value 1 13 26 value 2 11 22
其他提示
use the HTML line break tag '<br>
', see example below where Line 1 uses the line break & line 2 uses the Enter key.
Example (1: <br>
, 2: Enter)
Line 1
Line 2
Line 3
Click the 'edit' button on this posting here for good reference.