Closed oalsing closed 4 years ago
Hi,
Is there a reason why gatsby-remark-autolink-headers is nested inside gatsby-remark-table-of-contents in the README?
gatsby-remark-autolink-headers
gatsby-remark-table-of-contents
For reference, this is how I configured table-of-contents in my gatsby-config.
gatsby-config
{ resolve: `gatsby-remark-table-of-contents`, options: { exclude: 'Table of Contents', tight: false, fromHeading: 2, toHeading: 3, }, }, { resolve: 'gatsby-remark-autolink-headers', options: { elements: [`h1`, `h2`, `h3`], }, },
Also, thanks a bunch for this neat plugin. Saved me some time implementing it myself, and worked straight out-of-the-box! 🌟
Hi,
Is there a reason why
gatsby-remark-autolink-headers
is nested insidegatsby-remark-table-of-contents
in the README?For reference, this is how I configured table-of-contents in my
gatsby-config
.Also, thanks a bunch for this neat plugin. Saved me some time implementing it myself, and worked straight out-of-the-box! 🌟