New line in markdown
In Markdown, a new line is created using two spaces at the end of a line, followed by a blank line. This is known as a "soft return" or "line break".
Here's an example:
This is the first line of text.
This is the second line of text.
In the above example, the two spaces at the end of the first line, followed by a blank line, create a new line.
Alternatively, you can use a HTML line break (<br>
) to create a new line:
This is the first line of text.<br>
This is the second line of text.
However, it's generally recommended to use the soft return method, as it's more readable and easier to maintain.