-# Original markdown
-
-This section covers only features from the [original markdown](daringfireball.net/projects/markdown/syntax), in the same order that they are defined on the specification.
-
-Extensions will be tested on a separate section.
-
-## Paragraphs
-
-Paragraph.
-
-Line
-break.
-
-## Headers
-
-The following should be highlighted as headers:
-
-# h1
-
- # h1
-
-# h1 #
-
-h1
-==
-
-## h2
-
-## h2 ##
-
-h2
---
-
-### h3
-
-#### h4
-
-##### h5
-
-###### h6
-
-The following is unspecified by Markdown and may not highlight properly:
-
-####### h7
-
-## Blockquotes
-
-> Block quote
-
-> First line only
-block quote
-
-> Block quote
-> > Block quote level 2
-
-> # Markdown inside block quote
->
-> [Link text](link-url)
-
-## Lists
-
-Only the list marker should be highlighted:
-
-* 0
-* 1
+Fenced code living in an indented environment is correctly highlighted:
-+ 0
-+ 1
+1. run this command to do this:
-- 0
-- 1
+ ```
+some command
+ ```
-1. 0
-2. 1
+2. Subsequent list items are correctly highlighted.
-*Not* lists:
+Fenced code block with language:
-1 0
+```ruby
+def f
+ 0
+end
+```
- - 0
+# Links
-## Links
+[a](b "c")
-[Link text](link-url)
+[a]()
-Reference style link: [Link text][reference]
+[good spell](a)
-With space: [Link text] [reference]
+[badd spell](a)
-[reference]: address
-[reference2]: address "Optional Title"
+[a](b "c")
-## Code blocks
+[a]( b
+"c" )
-Inline: `inline code`
+a (`a`) b. Fix: <https://github.com/plasticboy/vim-markdown/issues/113>
-Indented:
+Escaped:
- indented code block
+\[a](b)
- # not a header
+[a\]b](c)
- - not a list
+## Known failures
-Indented code block and lists:
+Escape does not work:
-- 0
+[a\](b)
- Paragraph.
+Should not be links because of whitespace:
- indented code block inside list
+[a] (b)
-- 0
+[a](a
+b)
- - 1
+[a](a b)
- Paragraph (TODO FAIL).
+# Reference links
- indented code block inside list
+Single links:
-## Emphasis
+[a][b]
-The following should be italicized:
+[good spell][a]
-*single asterisks*
+[badd spell][a]
-_single underscores_
+[a][]
-The following should be boldface:
+[a] []
-**double asterisks**
+[a][b] c [d][e]
-__double underscores__
+Reference link followed by inline link:
-# Extensions
+[a] [b](c)
-Fenced code blocks TODO add option to turn ON/OFF:
+## Known failures
-```
-fenced code block
-```
+Should be shortcut reference links:
-Fenced code living in an indented environment is correctly highlighted:
+[a]
-1. run this command to do this:
+[a] b [c]
- ```
-some command
- ```
+Should be a single link:
-2. Subsequent list items are correctly highlighted.
+[a] [b]
-Fenced code block with language:
-
-```ruby
-def f
- 0
-end
-```
+[a] b [c](d)