Markdown Toolbox Logo Markdown Toolbox
Home
Blog

What is the best practice for line breaks in markdown?

Wednesday, November 29, 2023

The best practice for line breaks in Markdown is to use a single blank line to create a new paragraph. For a line break without creating a new paragraph, end a line with two or more spaces before hitting return.

This is the first line and here are two spaces at the end  
This is the next line in the same paragraph.

This is a new paragraph.

This is the first line and here are two spaces at the end
This is the next line in the same paragraph.

This is a new paragraph.