diff --git a/gatsby-config.js b/gatsby-config.js index 34c0bc5b..84e79a44 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -62,6 +62,7 @@ module.exports = { rel: "nofollow" } }, + `gatsby-remark-autolink-headers`, `gatsby-remark-code-titles`, `gatsby-remark-prismjs`, `gatsby-remark-copy-linked-files`, diff --git a/package-lock.json b/package-lock.json index 12cbe7c3..ed4edcc1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,6 +15,7 @@ "gatsby-plugin-image": "^2.7.0", "gatsby-plugin-react-helmet": "^5.7.0", "gatsby-plugin-sharp": "^4.7.0", + "gatsby-remark-autolink-headers": "^5.22.0", "gatsby-remark-copy-linked-files": "^5.7.0", "gatsby-remark-external-links": "^0.0.4", "gatsby-remark-images": "^6.7.0", @@ -8918,6 +8919,26 @@ "react-dom": "^16.9.0 || ^17.0.0" } }, + "node_modules/gatsby-remark-autolink-headers": { + "version": "5.22.0", + "resolved": "https://registry.npmjs.org/gatsby-remark-autolink-headers/-/gatsby-remark-autolink-headers-5.22.0.tgz", + "integrity": "sha512-Eyom72XpN2x2BLCKdgWYnseeqXIcN9kVZmaXECGzc/IrE6RBHTMjzCMZJx9Ii39OAOhILaumOEfYhnAIw6SWXg==", + "dependencies": { + "@babel/runtime": "^7.15.4", + "github-slugger": "^1.3.0", + "lodash": "^4.17.21", + "mdast-util-to-string": "^2.0.0", + "unist-util-visit": "^2.0.3" + }, + "engines": { + "node": ">=14.15.0" + }, + "peerDependencies": { + "gatsby": "^4.0.0-next", + "react": "^16.9.0 || ^17.0.0 || ^18.0.0", + "react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0" + } + }, "node_modules/gatsby-remark-code-buttons": { "version": "2.0.7", "resolved": "https://registry.npmjs.org/gatsby-remark-code-buttons/-/gatsby-remark-code-buttons-2.0.7.tgz", @@ -26408,6 +26429,18 @@ "prop-types": "^15.7.2" } }, + "gatsby-remark-autolink-headers": { + "version": "5.22.0", + "resolved": "https://registry.npmjs.org/gatsby-remark-autolink-headers/-/gatsby-remark-autolink-headers-5.22.0.tgz", + "integrity": "sha512-Eyom72XpN2x2BLCKdgWYnseeqXIcN9kVZmaXECGzc/IrE6RBHTMjzCMZJx9Ii39OAOhILaumOEfYhnAIw6SWXg==", + "requires": { + "@babel/runtime": "^7.15.4", + "github-slugger": "^1.3.0", + "lodash": "^4.17.21", + "mdast-util-to-string": "^2.0.0", + "unist-util-visit": "^2.0.3" + } + }, "gatsby-remark-code-buttons": { "version": "2.0.7", "resolved": "https://registry.npmjs.org/gatsby-remark-code-buttons/-/gatsby-remark-code-buttons-2.0.7.tgz", diff --git a/package.json b/package.json index 08a6a2d1..591e1147 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "gatsby-plugin-image": "^2.7.0", "gatsby-plugin-react-helmet": "^5.7.0", "gatsby-plugin-sharp": "^4.7.0", + "gatsby-remark-autolink-headers": "^5.22.0", "gatsby-remark-copy-linked-files": "^5.7.0", "gatsby-remark-external-links": "^0.0.4", "gatsby-remark-images": "^6.7.0",