supernotes

Markdown Tutorial

How to Add a New Line in Markdown?

Last updated on Monday, 2nd September 2024

How to Add a New Line in Markdown?
Take Notes with Markdown
Bring the color back into writing with supernotes
How to Add a New Line in Markdown?

Markdown is a simple and intuitive way to format text, that is used by many professionals for writing documentation, creating web pages in HTML, and taking notes. It is popular among developers, writers, and students for its simplicity and versatility. Adding a new line in Markdown allows you to improve readability and organise your text, so your information can be better read.

We use Markdown in our note-taking app, Supernotes, to help users format their notes efficiently. If you are interested in a note-taking app that supports Markdown, check out Supernotes.

This guide will show you how to properly add new lines following the Markdown formatting syntax.

Basic Line Breaks

Single Line Break

To create a line break (new line) in Markdown, you need to insert two spaces at the end of a line and then press the Enter key. Here’s how you do it:

This is the first line.(space)(space)
This is the second line.

Rendered output:

This is the first line.
This is the second line.

Multiple Line Breaks

If you need multiple line breaks, you can simply repeat the process of adding two spaces and pressing Enter. Each pair of spaces and Enter will create a new line.

This is the first line.  
This is the second line.  

This is the third line with an extra break above.

Rendered output:

This is the first line.
This is the second line.

This is the third line with an extra break above.

Paragraph Breaks

For a full paragraph break, just add one or more blank lines between paragraphs. Markdown automatically treats blank lines as paragraph separators.

This is the first paragraph.

This is the second paragraph. 

Rendered output:

This is the first paragraph.

This is the second paragraph.

Using HTML for Line Breaks

You can also use HTML tags to create line breaks in Markdown. This is particularly useful if you want to ensure your formatting is preserved across different Markdown processors.

Line Break with <br> Tag

To add a single line break, use the <br> tag:

This is the first line.<br>
This is the second line.

Rendered output:

This is the first line.

This is the second line.

Paragraph Break with <p> Tag

To create a paragraph break, you can use the <p> tag:

<p>This is the first paragraph.</p>
<p>This is the second paragraph.</p>

Rendered output:

This is the first paragraph.

This is the second paragraph.

Interested in writing more with Markdown?

If you enjoy using Markdown for note-taking and want a tool that enhances your experience, consider downloading Supernotes. Supernotes is a new note-taking app that supports Markdown, offering many features to boost your productivity while staying true to your note-taking style. Whether you need to jot down quick notes, manage detailed lists, or collaborate with others, Supernotes has you completely covered.

Overflowing Ideas

Take notes with Markdown

Discover a new way to take notes with notecards, available on iPhone, Android, Mac, Windows, Linux and the Web.
Take notes with Markdown

Give Supernotes a try, 99% of our features are free!