@@ -3,32 +3,32 @@ This is a set of tests for pandoc. Most of them are adapted from John Gruber’s
6−= Headers =
6+====== Headers ======
8−== Level 2 with an [[url|embedded link]] ==
8+===== Level 2 with an [[url|embedded link]] =====
10−=== Level 3 with ''emphasis'' ===
10+==== Level 3 with ''emphasis'' ====
12−==== Level 4 ====
12+=== Level 4 ===
14−===== Level 5 =====
14+== Level 5 ==
16−= Level 1 =
16+====== Level 1 ======
18−== Level 2 with ''emphasis'' ==
18+===== Level 2 with ''emphasis'' =====
20−=== Level 3 ===
20+==== Level 3 ====
22with no blank line
22with no blank line
24−== Level 2 ==
24+===== Level 2 =====
26with no blank line
26with no blank line
31−= Paragraphs =
31+====== Paragraphs ======
33Here’s a regular paragraph.
33Here’s a regular paragraph.
@@ -41,7 +41,7 @@ There should be a hard line break<br />here.
44−= Block Quotes =
44+====== Block Quotes ======
46E-mail style:
46E-mail style:
@@ -70,7 +70,7 @@ And a following paragraph.
73−= Code Blocks =
73+====== Code Blocks ======
@@ -89,9 +89,9 @@ These should not be escaped: \$ \\ \> \[ \{</pre>
92−= Lists =
92+====== Lists ======
94−== Unordered ==
94+===== Unordered =====
96Asterisks tight:
96Asterisks tight:
@@ -129,7 +129,7 @@ Minuses loose:
132−== Ordered ==
132+===== Ordered =====
@@ -163,7 +163,7 @@ Multiple paragraphs:
163<li><p>Item 2.</p></li>
163<li><p>Item 2.</p></li>
164<li><p>Item 3.</p></li></ol>
164<li><p>Item 3.</p></li></ol>
166−== Nested ==
166+===== Nested =====
@@ -187,14 +187,14 @@ Same thing but with paragraphs:
190−== Tabs and spaces ==
190+===== Tabs and spaces =====
192* this is a list item indented with tabs
192* this is a list item indented with tabs
193* this is a list item indented with spaces
193* this is a list item indented with spaces
194** this is an example list item indented with tabs
194** this is an example list item indented with tabs
195** this is an example list item indented with spaces
195** this is an example list item indented with spaces
197−== Fancy list markers ==
197+===== Fancy list markers =====
199<ol start="2" style="list-style-type: decimal;">
199<ol start="2" style="list-style-type: decimal;">
200<li>begins with 2</li>
200<li>begins with 2</li>
@@ -238,7 +238,7 @@ B. Williams
241−= Definition Lists =
241+====== Definition Lists ======
243Tight using spaces:
243Tight using spaces:
@@ -306,7 +306,7 @@ Blank line after term, indented marker, alternate markers:
306;# sublist
306;# sublist
307;# sublist
307;# sublist
309−= HTML Blocks =
309+====== HTML Blocks ======
311Simple block on one line:
311Simple block on one line:
@@ -416,7 +416,7 @@ Hr’s:
419−= Inline Markup =
419+====== Inline Markup ======
421This is ''emphasized'', and so ''is this''.
421This is ''emphasized'', and so ''is this''.
@@ -445,7 +445,7 @@ These should not be superscripts or subscripts, because of the unescaped spaces:
448−= Smart quotes, ellipses, dashes =
448+====== Smart quotes, ellipses, dashes ======
450“Hello,” said the spider. “‘Shelob’ is my name.”
450“Hello,” said the spider. “‘Shelob’ is my name.”
@@ -466,7 +466,7 @@ Ellipses…and…and….
469−= LaTeX =
469+====== LaTeX ======
472* <math>2+2=4</math>
472* <math>2+2=4</math>
@@ -490,7 +490,7 @@ Here’s a LaTeX table:
493−= Special Characters =
493+====== Special Characters ======
495Here is some unicode:
495Here is some unicode:
@@ -545,9 +545,9 @@ Minus: -
548−= Links =
548+====== Links ======
550−== Explicit ==
550+===== Explicit =====
552Just a [[url/|URL]].
552Just a [[url/|URL]].
@@ -567,7 +567,7 @@ Just a [[url/|URL]].
568[[|Empty]].
568[[|Empty]].
570−== Reference ==
570+===== Reference =====
572Foo [[url/|bar]].
572Foo [[url/|bar]].
@@ -592,7 +592,7 @@ Foo [[url/|bar]].
593Foo [[url/|biz]].
593Foo [[url/|biz]].
595−== With ampersands ==
595+===== With ampersands =====
597Here’s a [http://example.com/?foo=1&bar=2 link with an ampersand in the URL].
597Here’s a [http://example.com/?foo=1&bar=2 link with an ampersand in the URL].
@@ -602,7 +602,7 @@ Here’s an [[script?foo=1&bar=2|inline link]].
603Here’s an [[script?foo=1&bar=2|inline link in pointy braces]].
603Here’s an [[script?foo=1&bar=2|inline link in pointy braces]].
605−== Autolinks ==
605+===== Autolinks =====
607With an ampersand: http://example.com/?foo=1&bar=2
607With an ampersand: http://example.com/?foo=1&bar=2
@@ -620,7 +620,7 @@ Auto-links should not occur here: <code><http://example.com/></code>
623−= Images =
623+====== Images ======
625From “Voyage dans la Lune” by Georges Melies (1902):
625From “Voyage dans la Lune” by Georges Melies (1902):
@@ -631,7 +631,7 @@ Here is a movie [[Image:movie.jpg|movie]] icon.
634−= Footnotes =
634+====== Footnotes ======
636Here is a footnote reference,<ref>Here is the footnote. It can go anywhere after the footnote reference. It need not be placed at the end of the document.
636Here is a footnote reference,<ref>Here is the footnote. It can go anywhere after the footnote reference. It need not be placed at the end of the document.
637</ref> and another.<ref>Here’s the long note. This one contains multiple blocks.
637</ref> and another.<ref>Here’s the long note. This one contains multiple blocks.