Basic Syntax

Basic Markdown Syntax

The foundational elements of Markdown that work in virtually every Markdown parser.

Headings

Use # symbols to create headings. The number of # symbols corresponds to the heading level.

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

Paragraphs

Separate paragraphs with a blank line. Simply pressing Enter once won't create a new paragraph — you need an empty line between blocks of text.

First paragraph.

Second paragraph after a blank line.

Line Breaks

To create a line break, end a line with two or more spaces, then press Enter.

First line.
Second line after a line break.

Emphasis

Use asterisks or underscores to add emphasis to text.

Bold text

Italic text

Bold and italic

Strikethrough

Blockquotes

Add a > before a paragraph to create a blockquote.

This is a blockquote.

It can span multiple paragraphs.

Nested blockquote

Horizontal Rules

Create a horizontal rule using three or more hyphens, asterisks, or underscores on a line by themselves.