@ -41,8 +41,9 @@ considered blank.) Normal paragraphs should not be indented with
spaces or tabs.
spaces or tabs.
Markdown offers two styles of headers: *Setext* and *atx*.
Markdown offers two styles of headers: *Setext* and *atx*.
Setext-style headers for `<h1>` and `<h2>` are created by
Setext-style headers for `<h1>`, `<h2>` and `<h3>` are created by
"underlining" with equal signs (`=`) and hyphens (`-`), respectively.
"underlining" with equal signs (`=`), hyphens (`-`) and tildes (`~`)
respectively. An optional matching "overline" may precede the header.
To create an atx-style header, you put 1-6 hash marks (`#`) at the
To create an atx-style header, you put 1-6 hash marks (`#`) at the
beginning of the line -- the number of hashes equals the resulting
beginning of the line -- the number of hashes equals the resulting
HTML header level.
HTML header level.
@ -51,12 +52,16 @@ Blockquotes are indicated using email-style '`>`' angle brackets.
Markdown:
Markdown:
====================
A First Level Header
A First Level Header
====================
====================
A Second Level Header
A Second Level Header
---------------------
---------------------
A Third Level Header
~~~~~~~~~~~~~~~~~~~~
Now is the time for all good men to come to
Now is the time for all good men to come to
the aid of their country. This is just a
the aid of their country. This is just a
regular paragraph.
regular paragraph.
@ -64,7 +69,7 @@ Markdown:
The quick brown fox jumped over the lazy
The quick brown fox jumped over the lazy
dog's back.
dog's back.
### Header 3
### Header 4
> This is a blockquote.
> This is a blockquote.
>
>
@ -79,6 +84,8 @@ Output:
<h2>A Second Level Header</h2>
<h2>A Second Level Header</h2>
<h3>A Third Level Header</h3>
<p>Now is the time for all good men to come to
<p>Now is the time for all good men to come to
the aid of their country. This is just a
the aid of their country. This is just a
regular paragraph.</p>
regular paragraph.</p>
@ -86,7 +93,7 @@ Output:
<p>The quick brown fox jumped over the lazy
<p>The quick brown fox jumped over the lazy
dog's back.</p>
dog's back.</p>
<h3>Header 3</h3 >
<h4>Header 3</h4 >
<blockquote>
<blockquote>
<p>This is a blockquote.</p>
<p>This is a blockquote.</p>