# Paragraphs
A sequence of non-blank lines that cannot be interpreted as other kinds of blocks forms a paragraph (opens new window). The contents of the paragraph are the result of parsing the paragraph’s raw content as inlines. The paragraph’s raw content is formed by concatenating the lines and removing initial and final whitespace (opens new window).
A simple example with two paragraphs:
Example 189
Markdown | HTML | Demo |
---|---|---|
|
|
Paragraphs can contain multiple lines, but no blank lines:
Example 190
Markdown | HTML | Demo |
---|---|---|
|
|
Multiple blank lines between paragraph have no effect:
Example 191
Markdown | HTML | Demo |
---|---|---|
|
|
Leading spaces are skipped:
Example 192
Markdown | HTML | Demo |
---|---|---|
|
|
Lines after the first may be indented any amount, since indented code blocks cannot interrupt paragraphs.
Example 193
Markdown | HTML | Demo |
---|---|---|
|
|
However, the first line may be indented at most three spaces, or an indented code block will be triggered:
Example 194
Markdown | HTML | Demo |
---|---|---|
|
|
Example 195
Markdown | HTML | Demo |
---|---|---|
|
|
Final spaces are stripped before inline parsing, so a paragraph that ends with two or more spaces will not end with a hard line break (opens new window):
Example 196
Markdown | HTML | Demo |
---|---|---|
|
|