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

     1  {"DocLinkBaseURL": "https://pkg.go.dev"}
     2  -- input --
     3  Did you know?
     4  
     5    - [encoding/json.Marshal] is a doc link. So is [encoding/json.Unmarshal].
     6  -- text --
     7  Did you know?
     8  
     9    - encoding/json.Marshal is a doc link. So is encoding/json.Unmarshal.
    10  -- markdown --
    11  Did you know?
    12  
    13    - [encoding/json.Marshal](https://pkg.go.dev/encoding/json#Marshal) is a doc link. So is [encoding/json.Unmarshal](https://pkg.go.dev/encoding/json#Unmarshal).
    14  -- html --
    15  <p>Did you know?
    16  <ul>
    17  <li><a href="https://pkg.go.dev/encoding/json#Marshal">encoding/json.Marshal</a> is a doc link. So is <a href="https://pkg.go.dev/encoding/json#Unmarshal">encoding/json.Unmarshal</a>.
    18  </ul>
    19  

View as plain text