aboutsummaryrefslogtreecommitdiff
path: root/tests/writer.markdown
diff options
context:
space:
mode:
Diffstat (limited to 'tests/writer.markdown')
-rw-r--r--tests/writer.markdown40
1 files changed, 27 insertions, 13 deletions
diff --git a/tests/writer.markdown b/tests/writer.markdown
index 9974d27e0..ad97b15ef 100644
--- a/tests/writer.markdown
+++ b/tests/writer.markdown
@@ -9,7 +9,7 @@ title: Pandoc Test Suite
This is a set of tests for pandoc. Most of them are adapted from John Gruber’s
markdown test suite.
-* * * * *
+------------------------------------------------------------------------------
Headers
=======
@@ -38,7 +38,7 @@ Level 2
with no blank line
-* * * * *
+------------------------------------------------------------------------------
Paragraphs
==========
@@ -54,7 +54,7 @@ Here’s one with a bullet. \* criminey.
There should be a hard line break\
here.
-* * * * *
+------------------------------------------------------------------------------
Block Quotes
============
@@ -84,7 +84,7 @@ This should not be a block quote: 2 \> 1.
And a following paragraph.
-* * * * *
+------------------------------------------------------------------------------
Code Blocks
===========
@@ -105,7 +105,7 @@ And:
These should not be escaped: \$ \\ \> \[ \{
-* * * * *
+------------------------------------------------------------------------------
Lists
=====
@@ -268,7 +268,7 @@ M.A. 2007
B. Williams
-* * * * *
+------------------------------------------------------------------------------
Definition Lists
================
@@ -277,8 +277,10 @@ Tight using spaces:
apple
: red fruit
+
orange
: orange fruit
+
banana
: yellow fruit
@@ -286,30 +288,37 @@ Tight using tabs:
apple
: red fruit
+
orange
: orange fruit
+
banana
: yellow fruit
Loose:
apple
+
: red fruit
orange
+
: orange fruit
banana
+
: yellow fruit
Multiple blocks with italics:
*apple*
+
: red fruit
contains seeds, crisp, pleasant to taste
*orange*
+
: orange fruit
{ orange code block }
@@ -321,6 +330,7 @@ Multiple definitions, tight:
apple
: red fruit
: computer
+
orange
: orange fruit
: bank
@@ -328,11 +338,13 @@ orange
Multiple definitions, loose:
apple
+
: red fruit
: computer
orange
+
: orange fruit
: bank
@@ -340,11 +352,13 @@ orange
Blank line after term, indented marker, alternate markers:
apple
+
: red fruit
: computer
orange
+
: orange fruit
1. sublist
@@ -465,7 +479,7 @@ Hr’s:
<hr class="foo" id="bar" />
<hr class="foo" id="bar">
-* * * * *
+------------------------------------------------------------------------------
Inline Markup
=============
@@ -495,7 +509,7 @@ Subscripts: H~2~O, H~23~O, H~many of them~O.
These should not be superscripts or subscripts, because of the unescaped
spaces: a\^b c\^d, a\~b c\~d.
-* * * * *
+------------------------------------------------------------------------------
Smart quotes, ellipses, dashes
==============================
@@ -517,7 +531,7 @@ Dashes between numbers: 5–7, 255–66, 1987–1999.
Ellipses…and…and….
-* * * * *
+------------------------------------------------------------------------------
LaTeX
=====
@@ -548,7 +562,7 @@ Dog & 2 \\
Cat & 1 \\ \hline
\end{tabular}
-* * * * *
+------------------------------------------------------------------------------
Special Characters
==================
@@ -603,7 +617,7 @@ Plus: +
Minus: -
-* * * * *
+------------------------------------------------------------------------------
Links
=====
@@ -685,7 +699,7 @@ Auto-links should not occur here: `<http://example.com/>`
or here: <http://example.com/>
-* * * * *
+------------------------------------------------------------------------------
Images
======
@@ -696,7 +710,7 @@ From “Voyage dans la Lune” by Georges Melies (1902):
Here is a movie ![movie](movie.jpg) icon.
-* * * * *
+------------------------------------------------------------------------------
Footnotes
=========