| Linux in-mum-web1499.main-hosting.eu 5.14.0-503.40.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Mon May 5 06:06:04 EDT 2025 x86_64 Path : /opt/golang/1.22.0/src/go/doc/comment/testdata/ |
| Current File : //opt/golang/1.22.0/src/go/doc/comment/testdata/head.txt |
-- 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.