docs: function parse_href(href) {
    if (href.slice(0, 7) === 'mailto:') return href
  
    const index = href.indexOf('?')
    if (index === -1) throw new Error(`Got an <a> href from Google Docs we did not expect: ${href}`)
  
    const params = querystring.parse(href.substring(index + 1))
    if (!params.q) throw new Error(`This <a> href from Google Docs did not contain a 'q': ${href}`)
  
    return params.q
  }