summaryrefslogtreecommitdiffstats
path: root/src/go/doc/comment/testdata/head.txt
blob: b99a8c59f3fe7192a4d01cada9dbbe506a937226 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
-- input --
Some text.

An Old Heading

Not An Old Heading.

And some text.

# A New Heading.

And some more text.

# Not a heading,
because text follows it.

Because text precedes it,
# not a heading.

## Not a heading either.

-- gofmt --
Some text.

# An Old Heading

Not An Old Heading.

And some text.

# A New Heading.

And some more text.

# Not a heading,
because text follows it.

Because text precedes it,
# not a heading.

## Not a heading either.

-- text --
Some text.

# An Old Heading

Not An Old Heading.

And some text.

# A New Heading.

And some more text.

# Not a heading, because text follows it.

Because text precedes it, # not a heading.

## Not a heading either.

-- markdown --
Some text.

### An Old Heading {#hdr-An_Old_Heading}

Not An Old Heading.

And some text.

### A New Heading. {#hdr-A_New_Heading_}

And some more text.

\# Not a heading, because text follows it.

Because text precedes it, # not a heading.

\## Not a heading either.

-- html --
<p>Some text.
<h3 id="hdr-An_Old_Heading">An Old Heading</h3>
<p>Not An Old Heading.
<p>And some text.
<h3 id="hdr-A_New_Heading_">A New Heading.</h3>
<p>And some more text.
<p># Not a heading,
because text follows it.
<p>Because text precedes it,
# not a heading.
<p>## Not a heading either.