From f224567d52096fd6219a2a4a4d2b9cbcc5219e7a Mon Sep 17 00:00:00 2001
From: Alexander Krotov Pandoc Test Suite This is a set of tests for pandoc. Most of them are adapted from John Gruber’s markdown test suite. —————————— This is a set of tests for pandoc. Most of them are adapted from
+John Gruber’s markdown test suite. with no blank line —————————— Paragraphs Here’s a regular paragraph. In Markdown 1.0.0 and earlier. Version 8. This line turns into a list item. Because a hard-wrapped line in the middle of a paragraph looked like a list item. Here’s one with a bullet. * criminey. There should be a hard line break —————————— In Markdown 1.0.0 and earlier. Version
+8. This line turns into a list item.
+Because a hard-wrapped line in the
+middle of a paragraph looked like a
+list item. Here’s one with a bullet.
+* criminey. There should be a hard line break
+here. E-mail style: This is a block quote. It is pretty short. This is a block quote.
+It is pretty short. Code in a block quote: nested This should not be a block quote: 2 > 1. This should not be a block quote: 2
+> 1. And a following paragraph. ——————————
element in the default output
format, HTML. Current HTML standard defines
element as
"paragraph-level thematic break". In typography it is often
represented by extra space or centered asterism ("⁂"), but since
FB2 does not support text centering, empty line (similar to extra space)
is the only solution.
Line breaks, on the other hand, don't generate
——————————
-Multiple paragraphs:
1. Item 1, graf one.
Item 1. graf two. The quick brown fox jumped over the lazy dog’s back.
+Item 1. graf two. The quick brown fox jumped over the lazy dog’s +back.
2. Item 2.
Tabs and spaces
• this is a list item indented with tabs
+• this is a list item +indented with tabs
• this is a list item indented with spaces
+• this is a list item +indented with spaces
• • this is an example list item indented with tabs
+• • this is an example list item +indented with tabs
• • this is an example list item indented with spaces
+• • this is an example list item +indented with spaces
with a continuation
(3) iv. sublist with roman numerals, starting with 4
+(3) iv. sublist with roman numerals, +starting with 4
(3) v. more items
(3) v. (A) a subsublist
(3) v. (B) a subsublist
@@ -321,8 +326,6 @@M.A. 2007
B. Williams
——————————
-red fruit
contains seeds, crisp, pleasant to taste
+contains seeds, +crisp, pleasant to taste
@@ -481,8 +485,6 @@
Hr’s: ——————————
Subscripts: H2O, H23O, Hmany of themO.
-These should not be superscripts or subscripts, because of the unescaped spaces: a^b c^d, a~b c~d.
-——————————
+These should not be superscripts or subscripts, +because of the unescaped spaces: a^b c^d, a~b c~d.
“Hello,” said the spider. “‘Shelob’ is my name.”
‘A’, ‘B’, and ‘C’ are letters.
-‘Oak,’ ‘elm,’ and ‘beech’ are names of trees. So is ‘pine.’
-‘He said, “I want to go.”’ Were you alive in the 70’s?
+‘Oak,’ ‘elm,’ and ‘beech’ are names of trees. +So is ‘pine.’
+‘He said, “I want to go.”’ Were you alive in the +70’s?
Here is some quoted ‘code
’ and a “quoted link
[3]
”.
Dashes between numbers: 5–7, 255–66, 1987–1999.
Ellipses…and…and….
——————————
-• 223
• p
-Tree
• Here’s some display math: \frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}
+
• Here’s some display math:
+\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}
• Here’s one that has a line break in it: \alpha + \omega \times x^2
.
These shouldn’t be math:
• To get the famous equation, write $e = mc^2$
.
• $22,000 is a
• $22,000 is a
• Shoes ($20) and socks ($5).
• Escaped $
: $73
Here’s a LaTeX table:
——————————
-Plus: +
Minus: -
——————————
-——————————
-Here is a movie
——————————
-29
Here is the footnote. It can go anywhere after the footnote reference. It need not be placed at the end of the document.
+Here is the footnote. It can go anywhere after the footnote +reference. It need not be placed at the end of the document.
30
Here’s the long note. This one contains multiple blocks.
-Subsequent blocks are indented to show that they belong to the footnote (as with list items).
+Here’s the long note. This one contains multiple +blocks.
+Subsequent blocks are indented to show that they belong to the +footnote (as with list items).
{ <code> }
If you want, you can indent every line, but you can also be lazy and just indent the first line of each block.
+If you want, you can indent every line, but you can also be +lazy and just indent the first line of each block.
31
This is This
+is ]
verbatim characters, as well as [bracketed text].]
verbatim characters,
+as well as [bracketed text].