rehype-slug-custom-id (npm): plugin to add `id` attributes to headings similar to gatsby-remark-autolink-headers 
Keywords: unified|rehype|rehype-plugin|plugin|html|heading|slug|id