Debian Codegraph @

tests/snippets/markdown/test_subheadings.txt

raw
1 ---input---
2 Subheadings:
3
4 ##Subheading
5
6 ## Subheading
7
8 ### Subheading
9
10 #### Subheading
11
12 ##### Subheading
13
14 ## Another subheading
15
16 ## Another ## subheading
17
18 ##### Subheading #
19
20 ##### Subheading #####
21
22
23 These are NOT subheadings:
24
25 ##
26
27 a ##
28
29 *##
30
31 ###### too many hashes
32
33 ---tokens---
34 'Subheadings:' Text
35 '\n' Text.Whitespace
36
37 '\n' Text.Whitespace
38
39 '##Subheading' Generic.Subheading
40 '\n' Text
41
42 '\n' Text.Whitespace
43
44 '## Subheading' Generic.Subheading
45 '\n' Text
46
47 '\n' Text.Whitespace
48
49 '### Subheading' Generic.Subheading
50 '\n' Text
51
52 '\n' Text.Whitespace
53
54 '#### Subheading' Generic.Subheading
55 '\n' Text
56
57 '\n' Text.Whitespace
58
59 '##### Subheading' Generic.Subheading
60 '\n' Text
61
62 '\n' Text.Whitespace
63
64 '## Another subheading' Generic.Subheading
65 '\n' Text
66
67 '\n' Text.Whitespace
68
69 '## Another ## subheading' Generic.Subheading
70 '\n' Text
71
72 '\n' Text.Whitespace
73
74 '##### Subheading #' Generic.Subheading
75 '\n' Text
76
77 '\n' Text.Whitespace
78
79 '##### Subheading #####' Generic.Subheading
80 '\n' Text
81
82 '\n' Text.Whitespace
83
84 '\n' Text.Whitespace
85
86 'These' Text
87 ' ' Text
88 'are' Text
89 ' ' Text
90 'NOT' Text
91 ' ' Text
92 'subheadings:' Text
93 '\n' Text.Whitespace
94
95 '\n' Text.Whitespace
96
97 '##' Text
98 '\n' Text.Whitespace
99
100 '\n' Text.Whitespace
101
102 'a' Text
103 ' ' Text
104 '##' Text
105 '\n' Text.Whitespace
106
107 '\n' Text.Whitespace
108
109 '*##' Text
110 '\n' Text.Whitespace
111
112 '\n' Text.Whitespace
113
114 '###### too many hashes' Generic.Subheading
115 '\n' Text