1 -- input --
2 Some text.
3
4 An Old Heading
5
6 Not An Old Heading.
7
8 And some text.
9
10 # A New Heading.
11
12 And some more text.
13
14 # Not a heading,
15 because text follows it.
16
17 Because text precedes it,
18 # not a heading.
19
20 ## Not a heading either.
21
22 -- gofmt --
23 Some text.
24
25 # An Old Heading
26
27 Not An Old Heading.
28
29 And some text.
30
31 # A New Heading.
32
33 And some more text.
34
35 # Not a heading,
36 because text follows it.
37
38 Because text precedes it,
39 # not a heading.
40
41 ## Not a heading either.
42
43 -- text --
44 Some text.
45
46 # An Old Heading
47
48 Not An Old Heading.
49
50 And some text.
51
52 # A New Heading.
53
54 And some more text.
55
56 # Not a heading, because text follows it.
57
58 Because text precedes it, # not a heading.
59
60 ## Not a heading either.
61
62 -- markdown --
63 Some text.
64
65 ### An Old Heading {#hdr-An_Old_Heading}
66
67 Not An Old Heading.
68
69 And some text.
70
71 ### A New Heading. {#hdr-A_New_Heading_}
72
73 And some more text.
74
75 \# Not a heading, because text follows it.
76
77 Because text precedes it, # not a heading.
78
79 \## Not a heading either.
80
81 -- html --
82 <p>Some text.
83 <h3 id="hdr-An_Old_Heading">An Old Heading</h3>
84 <p>Not An Old Heading.
85 <p>And some text.
86 <h3 id="hdr-A_New_Heading_">A New Heading.</h3>
87 <p>And some more text.
88 <p># Not a heading,
89 because text follows it.
90 <p>Because text precedes it,
91 # not a heading.
92 <p>## Not a heading either.
93
View as plain text