Add `gatsby-remark-autolink-headers`; merge `gatsby-transformer-remark` elements
@@ -55,18 +55,14 @@ module.exports = {
{
resolve: "gatsby-transformer-remark",
options: {
+ // Footnotes mode (default: true)
+ // footnotes: true,
+ // GitHub Flavored Markdown mode (default: true)
+ gfm: true,
+ // Plugins configs
plugins: [
- {
- resolve: "gatsby-remark-prismjs",
- options: {},
- },
- ],
- },
- },
- {
- resolve: "gatsby-transformer-remark",
- options: {
- plugins: [
+ `gatsby-remark-autolink-headers`,
+ `gatsby-remark-prismjs`,
{
resolve: "gatsby-remark-images",
options: {
