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