code: def insertLink(page, lnk, mark = True):
      
      CheckParent(page)
      annot = getLinkText(page, lnk)
      if annot == "":
          raise ValueError("link kind not supported")
  
      page._addAnnot_FromString([annot])
      return
docs: Insert a new link for the current page.