Wiki
Clone wikiReaScript-M2BPack / Rst_Test
NAVI | HOME | MIDI | MIDI-CC |ENVELOPE | MAIN | GUI | INSTALL | CHANGE LOG | LABO
Pandoc Test Suite
Subtitle
Authors: | John MacFarlane; Anonymous |
---|---|
Date: | July 17, 2006 |
Revision: | 3 |
Level one header
This is a set of tests for pandoc. Most of them are adapted from John Gruber's markdown test suite.
Level two header
Level three
Level four with emphasis
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.
Horizontal rule:
Another:
Here's a block quote:
This is a block quote. It is pretty short.
Here's another, differently indented:
This is a block quote. It's indented with a tab.
Code in a block quote:
sub status { print "working"; }List in a block quote:
- item one
- item two
Nested block quotes:
nested
nested
Code:
---- (should be four hyphens) sub status { print "working"; }
this code block is indented by one tab
And:
this block is indented by two tabs These should not be escaped: \$ \\ \> \[ \{
And:
def my_function(x): return x + 1
Unordered
Asterisks tight:
- asterisk 1
- asterisk 2
- asterisk 3
Asterisks loose:
- asterisk 1
- asterisk 2
- asterisk 3
Pluses tight:
- Plus 1
- Plus 2
- Plus 3
Pluses loose:
- Plus 1
- Plus 2
- Plus 3
Minuses tight:
- Minus 1
- Minus 2
- Minus 3
Minuses loose:
- Minus 1
- Minus 2
- Minus 3
Ordered
Tight:
- First
- Second
- Third
and:
- One
- Two
- Three
Loose using tabs:
- First
- Second
- Third
and using spaces:
- One
- Two
- Three
Multiple paragraphs:
Item 1, graf one.
Item 1. graf two. The quick brown fox jumped over the lazy dog's back.
Item 2.
Item 3.
Nested:
- Tab
- Tab
- Tab
- Tab
Here's another:
First
Second:
- Fee
- Fie
- Foe
Third
Fancy list markers
begins with 2
and now 3
with a continuation
- sublist with roman numerals, starting with 4
- more items
- a subsublist
- a subsublist
Nesting:
- Upper Alpha
- Upper Roman.
- Decimal start with 6
- Lower alpha with paren
- Decimal start with 6
- Upper Roman.
Autonumbering:
- Autonumber.
- More.
- Nested.
Autonumbering with explicit start:
- item 1
- item 2
Definition
- term 1
- Definition 1.
- term 2
Definition 2, paragraph 1.
Definition 2, paragraph 2.
- term with emphasis
- Definition 3.
address: 61 Main St. city: Nowhere, MA, USA phone: 123-4567
address: | 61 Main St. |
---|---|
city: | Nowhere, MA, USA |
phone: | 123-4567 |
Simple block on one line:
Now, nested:
This is emphasized. This is strong.
This is code: >, $, \, \$, <html>.
This issubscripted and this is superscripted.
Here is some unicode:
- I hat:
- o umlaut:
- section: §
- set membership: ∈
- copyright:
AT&T has an ampersand in their name.
This & that.
4 < 5.
6 > 5.
Backslash: \
Backtick: `
Asterisk: *
Underscore: _
Left brace: {
Right brace: }
Left bracket: [
Right bracket: ]
Left paren: (
Right paren: )
Greater-than: >
Hash: #
Period: .
Bang: !
Plus: +
Minus: -
Explicit: a URL.
Two anonymous links: the first and the second
Reference links: link1 and link2 and link1 again.
Here's a link with an ampersand in the URL.
Here's a link with an amersand in the link text: AT&T.
Autolinks: http://example.com/?foo=1&bar=2 and nobody@nowhere.net.
But not here:
http://example.com/
From "Voyage dans la Lune" by Georges Melies (1902):
Here is a movie icon.
First paragraph
Another paragraph
A third paragraph
------------------ ----------- ----------- col 1 col 2 col 3 ================== =========== =========== r1 a b c r2 d e f ------------------ ----------- -----------
Headless
------------------ ----------- ----------- r1 a b c r2 d e f ------------------ ----------- -----------
col 1 | col 2 | col 3 |
---|---|---|
r1 a r1 bis | b b 2 | c c 2 |
r2 d | e | f |
Headless
r1 a r1 bis | b b 2 | c c 2 |
r2 d | e | f |
Spaces at ends of lines
r1 a r1 bis | b b 2 | c c 2 |
r2 d | e | f |
Multiple blocks in a cell
r1 a r1 bis |
|
c c 2 c 2 |
[1] | Note with one line. |
[2] | Note with continuation line. |
[3] | Note with continuation block. |
[*] | Note with continuation line and a second para. |
Not in note.
Some inline math \(E=mc^2\). Now some display math:
All done.
Try changing the default role to a few different things.
Doesn't Break Title Parsing
Inline math: \(E=mc^2\) or \(E=mc^2\) or \(E=mc^2\). Other roles: super, sub.
Some of these words are in superscript.
Reset default-role to the default default.
And now some-invalid-string-3231231 is nonsense.
And now with :html:`<b>inline</b> <span id="test">HTML</span>`.
And some inline haskell fmap id [1,2..10]
.
Indirect python role [x*x for x in [1,2,3,4,5]]
.
Different indirect C int x = 15;
.
Updated