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

     1  -- input --
     2  See the [Go home page] and the [pkg
     3  site].
     4  
     5  [Go home page]: https://go.dev/
     6  [pkg site]: https://pkg.go.dev
     7  [Go home page]: https://duplicate.ignored
     8  
     9  They're really great!
    10  
    11  -- gofmt --
    12  See the [Go home page] and the [pkg
    13  site].
    14  
    15  They'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 --
    23  See the Go home page and the pkg site.
    24  
    25  They're really great!
    26  
    27  [Go home page]: https://go.dev/
    28  [pkg site]: https://pkg.go.dev
    29  -- markdown --
    30  See the [Go home page](https://go.dev/) and the [pkg site](https://pkg.go.dev).
    31  
    32  They'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
    35  site</a>.
    36  <p>They&apos;re really great!
    37  

View as plain text