docs: async function linkPlugin({
    content,
    link,
    title,
    id,
  }: {
    content: string,
    link?: string,
    title?: string,
    id?: string,
  }): Promise<?string> {
    let href = '';
    if (link) {
      if (
        isUrl.test(link) ||
        isRepoFilePath.test(link) ||
        isHashAnchor.test(link)
      ) {
        href = link;
      } else {
        return null;
      }
    }
    return `<a${href ? ` href="${href}"` : ''}${id ? ` id="${id}"` : ''}${
      title ? ` title="${title}"` : ''
    }>${content}</a>`;
  }