...

Text file src/go/doc/comment/testdata/link4.txt

Documentation: go/doc/comment/testdata

     1-- input --
     2These are not links.
     3
     4[x
     5
     6[x]:
     7
     8[x]:https://go.dev
     9
    10[x]https://go.dev
    11
    12[x]: surprise://go.dev
    13
    14[x]: surprise!
    15
    16But this is, with a tab (although it's unused).
    17
    18[z]:	https://go.dev
    19-- gofmt --
    20These are not links.
    21
    22[x
    23
    24[x]:
    25
    26[x]:https://go.dev
    27
    28[x]https://go.dev
    29
    30[x]: surprise://go.dev
    31
    32[x]: surprise!
    33
    34But this is, with a tab (although it's unused).
    35
    36[z]: https://go.dev
    37-- text --
    38These are not links.
    39
    40[x
    41
    42[x]:
    43
    44[x]:https://go.dev
    45
    46[x]https://go.dev
    47
    48[x]: surprise://go.dev
    49
    50[x]: surprise!
    51
    52But this is, with a tab (although it's unused).
    53-- markdown --
    54These are not links.
    55
    56\[x
    57
    58\[x]:
    59
    60\[x]:[https://go.dev](https://go.dev)
    61
    62\[x][https://go.dev](https://go.dev)
    63
    64\[x]: surprise://go.dev
    65
    66\[x]: surprise!
    67
    68But this is, with a tab (although it's unused).
    69-- html --
    70<p>These are not links.
    71<p>[x
    72<p>[x]:
    73<p>[x]:<a href="https://go.dev">https://go.dev</a>
    74<p>[x]<a href="https://go.dev">https://go.dev</a>
    75<p>[x]: surprise://go.dev
    76<p>[x]: surprise!
    77<p>But this is, with a tab (although it&apos;s unused).

View as plain text