Level one header

edit

This is a set of tests for pandoc. Most of them are adapted from John Gruber's markdown test suite.

Level two header

edit

Level three

edit

Level four with emphasis

edit
Level five
edit

Paragraphs

edit

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.

Sometimes people have empty bullet points (sigh).

  • criminey.


Horizontal rule:


Another:


Block Quotes

edit

Native BlockQuotes

edit

HTML BlockQuotes

edit

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:

  1. item one
  2. item two

Nested block quotes:

nested

nested

Lists

edit

Unordered

edit
  • asterisk 1
  • asterisk 2
  • asterisk 3

Ordered

edit
  1. First
  2. Second
  3. Third

Multiple paragraphs HTML

edit

Multiple paragraphs:

  1. Item 1, graf one.

    Item 1. graf two. The quick brown fox jumped over the lazy dog's back.

  2. Item 2.

  3. Item 3.

Nested

edit
  • Tab
    • Tab
      • Tab

Here's another:

  1. First

  2. Second:

    • Fee
    • Fie
    • Foe
  3. Third

Definitions

edit

Native definitions

edit
term 1
Definition 1.
term 2
Definition 2
term with emphasis
Definition 3.

Definitions in HTML

edit
term 1

Definition 1.

term 2

Definition 2, paragraph 1.

Definition 2, paragraph 2.

term with emphasis

Definition 3.

Field Lists

edit
address
61 Main St.
city
Nowhere, MA, USA
phone
123-4567
address
61 Main St.
city
Nowhere, MA, USA
phone
123-4567

HTML blocks

edit

Simple block on one line:

foo

Now, nested:

           foo

Inline Markup

edit

This is emphasized. This is strong.

Mixed markup emphasized strong continued on second line

This is code: >, $, \, \$, <html>.

This issubscripted and this is superscripted.

Preformatted Text

edit

Native preformatted text:

preformatted text is done with
a space at the
beginning of the line

HTML performatted text with native parts:

preformatted text is done with
 a '''space''' at the
 ''beginning'' of the line

Special characters

edit

Here is some unicode:

  • I hat: Î
  • o umlaut: ö
  • section: §
  • set membership: ∈
  • copyright: ©

AT&T has an ampersand in their name. AT&T has an ampersand in their name.

This & that. This & that.

4 < 5. 4 < 5.

6 > 5. 6 > 5.

Backslash: \

Backtick: `

Asterisk: *

Underscore: _

Left brace: {

Right brace: }

Left bracket: [

Right bracket: ]

Left paren: (

Right paren: )

Greater-than: >

Greater-than: >

Hash: #

Period: .

Bang: !

Plus: +

Minus: -

Links

edit

URL with link text: bar

Internal link: Simple intra

Tricky internal link: Simple intra ' 2

(Link in parentheses)

Internal link with link text: Foo

Here's a link with an ampersand in the URL.

Here's a link with an ampersand in the link text: AT&T.

Autolinks: http://example.com/?foo=1&bar=2 and nobody@nowhere.net

But not here:

http://example.com/

Images

edit

From "Voyage dans la Lune" by Georges Melies (1902):

image

Voyage dans la Lune

Here is a movie icon.

Line Blocks

edit

Simple Tables

edit

Special Extensions

edit

[1]

  1. ^ this needs the Cite plugin used on wikipedia baz