Massive Markdown Test File

Link: «http://example.com/».

With an ampersand: «http://example.com/?foo=1&bar=2»

  • In a list?
  • «http://example.com/»
  • It should.

Blockquoted: «http://example.com/»

Auto-links should not occur here: `«http://example.com/»`

or here: <[http://example.com/>][1]

These should all get escaped:

Backslash:

Backtick: `

Asterisk: *

Underscore: _

Left brace: {

Right brace: }

Left bracket: [

Right bracket: ]

Left paren: (

Right paren: )

Greater-than: >

Hash: #

Period: .

Bang: !

Plus: +

Minus: -

These should not, because they occur within a code block:

Backslash:   
Backtick: \`

	Asterisk: \*

	Underscore: \_

	Left brace: \{

	Right brace: \}

	Left bracket: \[

	Right bracket: \]

	Left paren: \(

	Right paren: \)

	Greater-than: \>

	Hash: \#

	Period: \.

	Bang: \!

	Plus: \+

	Minus: \-

Nor should these, which occur in code spans:

Backslash: `\`

Backtick: `` ` ``

Asterisk: `*`

Underscore: `_`

Left brace: `{`

Right brace: `}`

Left bracket: `[`

Right bracket: `]`

Left paren: `(`

Right paren: `)`

Greater-than: `>`

Hash: `#`

Period: `.`

Bang: `!`

Plus: `+`

Minus: `-`

Example: > > sub status { > print “working”; > } > > Or: > > sub status { > return “working”; > }

Hard-wrapped Paragraphs with List-like lines


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. This is fixed with PmWiki’s line join

  • criminey.

Comments


Paragraph one.

The end.

Links


Just a [URL](http://www.example.org/).

[URL and title](http://www.example.org/ “title”).

[URL and title](http://www.example.org/ “title preceded by two spaces”).

[URL and title](http://www.example.org/ “title preceded by a tab”).

[Empty]().

Foo [bar] [1].

Foo [bar][1].

Foo [bar] [1].

With [embedded [brackets]] [b].

Indented [once][].

Indented [twice][].

Indented [thrice][].

Indented [four][] times.

[once]: <http://www.example.org>

  [twice]: <http://www.example.org>

   [thrice]: <http://www.example.org>

    [four]: <http://www.example.org>

Foo [bar][].

Foo [bar](http://www.example.org/ “Title with “quotes” inside”).

[bar]: <http://www.example.org/> "Title with "quotes" inside"

foo > > > bar > > foo

Inline Text Emphasis


  • This is strong and em.*\* Proin nec tellus. Phasellus imperdiet. Phasellus mollis ante ac purus. So is ***this*** word. Phasellus luctus, enim quis varius interdum, diam massa ullamcorper arcu, eget iaculis mauris arcu sit amet est. _\__This is strong and em.___ Vestibulum sit amet lacus sed diam iaculis rutrum. Nunc laoreet enim. Praesent tempor, odio volutpat sollicitudin aliquet, lectus libero bibendum leo, at adipiscing leo enim at nunc. So is _\__this___ word. Fusce lacinia porta velit. Mauris non orci nec lectus vulputate laoreet. Nullam condimentum. Here is just a **bold* word, along with __this word.__ Finally, Vestibulum sit amet lacus sed diam iaculis rutrum. Some words are _emphasized_ like *this one*.

Unordered Lists


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 Lists


Tight:

1.	First
   2.	Second
   3.	Third

and:

1. One
   2. Two
   3. Three

Loose using tabs:

1.	First

   2.	Second

   3.	Third

and using spaces:

1. One

   2. Two

   3. Three

Multiple paragraphs:

1.	Item 1, graf one.

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

   2.	Item 2.

   3.	Item 3.

Nested


  • Tab

    • Tab
  • Tab

Here’s another:

  1. First 2. Second:

    • Fee * Fie * Foe
  2. Third

Same thing but with paragraphs:

  1. First

  2. Second:

    • Fee * Fie * Foe
  3. Third

Tab Tests


  • this is a list item

    indented with tabs

  • this is a list item

    indented with spaces

Code:

this code block is indented by one tab

And:

this code block is indented by two tabs

And:

+	this is an example list item
		indented with tabs

	+   this is an example list item
	    indented with spaces

A list within a blockquote: > > * asterisk 1 > * asterisk 2 > * asterisk 3