]> git.madduck.net Git - etc/vim.git/blob - .vim/bundle/vim-markdown/test/syntax.md

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

add new mail identities
[etc/vim.git] / .vim / bundle / vim-markdown / test / syntax.md
1 # Fenced code living in an indented environment is correctly highlighted
2
3 1. run this command to do this:
4
5     ```
6 some command
7     ```
8
9 2. Subsequent list items are correctly highlighted.
10
11 Fenced code block with language:
12
13 ```ruby
14 def f
15   0
16 end
17 ```
18
19 # Links
20
21 [a](b "c")
22
23 [a]()
24
25 [good spell](a)
26
27 [badd spell](a)
28
29 [a](b "c")
30
31 [a]( b
32 "c" )
33
34 a (`a`) b. Fix: <https://github.com/plasticboy/vim-markdown/issues/113>
35
36 Escaped:
37
38 \[a](b)
39
40 [a\]b](c)
41
42 ## Known failures
43
44 Escape does not work:
45
46 [a\](b)
47
48 Should not be links because of whitespace:
49
50 [a] (b)
51
52 [a](a
53 b)
54
55 [a](a b)
56
57 # Reference links
58
59 Single links:
60
61 [a][b]
62
63 [good spell][a]
64
65 [badd spell][a]
66
67 [a][]
68
69 [a] []
70
71 [a][b] c [d][e]
72
73 Reference link followed by inline link:
74
75 [a] [b](c)
76
77 ## Known failures
78
79 Should be shortcut reference links:
80
81 [a]
82
83 [a] b [c]
84
85 Should be a single link:
86
87 [a] [b]
88
89 [a] b [c](d)