kalinchernev / using-i18n

Using https://github.com/gatsbyjs/gatsby/tree/master/examples/using-i18n
MIT License
24 stars 4 forks source link

gatsby-mdx has been replaced by gatsby-plugin-mdx #4

Open ohlr opened 4 years ago

ohlr commented 4 years ago

https://github.com/ChristopherBiscardi/gatsby-mdx is no longer maintained

With the new api the teplates/post.js

must look like this:

  <MDXProvider
     components={{
          a: MdxLink,
        }}
      >
        <MDXRenderer>{mdx.body}</MDXRenderer>
</MDXProvider>