Debian Codegraph @

tests/snippets/markdown/test_headings.txt

raw
1 ---input---
2 Headings:
3
4 #Heading
5
6 # Heading
7
8 # Another heading
9
10 # Another # heading
11
12 # Heading #
13
14 These are NOT parsed as headings:
15
16 #
17
18 a #
19
20 *#
21
22 ---tokens---
23 'Headings:' Text
24 '\n' Text.Whitespace
25
26 '\n' Text.Whitespace
27
28 '#Heading' Generic.Heading
29 '\n' Text
30
31 '\n' Text.Whitespace
32
33 '# Heading' Generic.Heading
34 '\n' Text
35
36 '\n' Text.Whitespace
37
38 '# Another heading' Generic.Heading
39 '\n' Text
40
41 '\n' Text.Whitespace
42
43 '# Another # heading' Generic.Heading
44 '\n' Text
45
46 '\n' Text.Whitespace
47
48 '# Heading #' Generic.Heading
49 '\n' Text
50
51 '\n' Text.Whitespace
52
53 'These' Text
54 ' ' Text
55 'are' Text
56 ' ' Text
57 'NOT' Text
58 ' ' Text
59 'parsed' Text
60 ' ' Text
61 'as' Text
62 ' ' Text
63 'headings:' Text
64 '\n' Text.Whitespace
65
66 '\n' Text.Whitespace
67
68 '#' Text
69 '\n' Text.Whitespace
70
71 '\n' Text.Whitespace
72
73 'a' Text
74 ' ' Text
75 '#' Text
76 '\n' Text.Whitespace
77
78 '\n' Text.Whitespace
79
80 '*#' Text
81 '\n' Text.Whitespace