...

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

Documentation: go/doc/comment/testdata

     1-- input --
     2[math] is a package but this is not a doc link.
     3
     4[io] is a doc link.
     5
     6[math]: https://example.com
     7-- gofmt --
     8[math] is a package but this is not a doc link.
     9
    10[io] is a doc link.
    11
    12[math]: https://example.com
    13-- text --
    14math is a package but this is not a doc link.
    15
    16io is a doc link.
    17
    18[math]: https://example.com
    19-- markdown --
    20[math](https://example.com) is a package but this is not a doc link.
    21
    22[io](/io) is a doc link.
    23-- html --
    24<p><a href="https://example.com">math</a> is a package but this is not a doc link.
    25<p><a href="/io">io</a> is a doc link.

View as plain text