...

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

Documentation: go/doc/comment/testdata

     1-- input --
     2See the [Go home page] and the [pkg
     3site].
     4
     5[Go home page]: https://go.dev/
     6[pkg site]: https://pkg.go.dev
     7[Go home page]: https://duplicate.ignored
     8
     9They're really great!
    10
    11-- gofmt --
    12See the [Go home page] and the [pkg
    13site].
    14
    15They're really great!
    16
    17[Go home page]: https://go.dev/
    18[pkg site]: https://pkg.go.dev
    19
    20[Go home page]: https://duplicate.ignored
    21
    22-- text --
    23See the Go home page and the pkg site.
    24
    25They're really great!
    26
    27[Go home page]: https://go.dev/
    28[pkg site]: https://pkg.go.dev
    29-- markdown --
    30See the [Go home page](https://go.dev/) and the [pkg site](https://pkg.go.dev).
    31
    32They're really great!
    33-- html --
    34<p>See the <a href="https://go.dev/">Go home page</a> and the <a href="https://pkg.go.dev">pkg
    35site</a>.
    36<p>They&apos;re really great!

View as plain text