docs: function linkInPage (link) {
      const pageUrl = location.hash
        ? stripHash(location.href)
        : location.href;
  
      return link.tagName.toLowerCase() === 'a'
        && link.hash.length > 0
        && stripHash(link.href) === pageUrl;
    }