]> git.madduck.net Git - etc/vim.git/blob - test/header.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:

Don't interpret escaped _ chars in italics as the end of syntax match
[etc/vim.git] / test / header.md
1 This file is used for tests which require there to be multiple headers in different relative positions to each other.
2
3 Each header should have an unique text that identifies it.
4
5 ---
6
7 ATX tests.
8
9 # h1 space
10
11 #h1 nospace
12
13 #  h1 2 spaces
14
15 # h1 trailing hash #
16
17 ## h2 space
18
19 ##h2 nospace
20
21 ## h2 trailing hash ##
22
23 ### h3 space
24
25 ###h3 nospace
26
27 ### h3 trailing hash ###
28
29 #### h4
30
31 ##### h5
32
33 ###### h6
34
35 ---
36
37 Relative positions.
38
39 # h1 before h2
40
41 ## h2 between h1s
42
43 # h1 after h2
44
45 ---
46
47 Setex tests.
48
49 setex h1
50 ========
51
52 setex h2
53 --------
54
55 setex h1 single punctuation
56 =
57
58 setex h1 punctuation longer than header
59 ================================
60
61 Prevent list vs Setex confusion:
62
63 - not Setex
64 - because list
65
66 ---
67
68 Mixed tests.
69
70 setex h1 before atx
71 ===================
72
73 ## atx h2
74
75 ### atx h3
76
77 # atx h1
78
79 setex h2
80 ------------------
81
82 ### atx h3 2