Closed tonilaukka closed 4 years ago
There is a known issue with gatsby-plugin-mdx and gatsby-remark-issue which results in double images with the config described in the course. This can be fixed by adding gatsby-remark-images as plugin of gatsby-plugin-mxd.
gatsby-plugin-mdx
gatsby-remark-issue
gatsby-remark-images
gatsby-plugin-mxd
{ resolve: 'gatsby-plugin-mdx', options: { defaultLayouts: { default: require.resolve('./src/components/layout.js'), }, gatsbyRemarkPlugins: ['gatsby-remark-images'], plugins: ['gatsby-remark-images'], }, },
This was added as an annotation, but is now also added as a code snippet to the course errata.
There is a known issue with
gatsby-plugin-mdx
andgatsby-remark-issue
which results in double images with the config described in the course. This can be fixed by addinggatsby-remark-images
as plugin ofgatsby-plugin-mxd
.