Markdown Line Breaks: New Line Without a New Paragraph
In Markdown, pressing Enter once does not start a new line: the two lines join up. To go to the next line without starting a new paragraph, end the line with a backslash \ (or two spaces) and then press Enter. For a new paragraph, leave a blank line.
The rule
Pressing Enter once does not start a new line in Markdown. To go to the next line without starting a new paragraph, end the line with a backslash \ (or two spaces), then press Enter.
You type
Meet at the gate\
Bring a hatYou get
Meet at the gate
Bring a hat
Try it yourself
Write Dino Street 12 and Fossil Town on two lines of the same paragraph.
Live preview
More examples
You type
Dino Street 12\
Fossil TownYou get
Dino Street 12
Fossil Town
An address on two lines, using a backslash.
You type
Roses are red\
Violets are blue
New paragraph here.You get
Roses are red
Violets are blue
New paragraph here.
Line breaks inside a paragraph, then a blank line for a new paragraph.
Common mistakes
You type
Dino Street 12
Fossil TownShows as
Dino Street 12 Fossil Town
One Enter only: the lines join into one.
You type
Dino Street 12
Fossil TownShows as
Dino Street 12 Fossil Town
Only one trailing space; you need two (or a backslash, which you can see).
Where it works
Backslash and two spaces both work on GitHub and in most apps. Some apps, such as Obsidian by default and Discord, treat every Enter as a new line anyway.
Keep it, not just learn it
The full course has 22 skills on five islands, short Missions that check your answers, and reviews a few days later so it sticks. Free, no sign-up.