diff --git a/packages/gatsby-plugin-mdx/README.md b/packages/gatsby-plugin-mdx/README.md index ebbfc639f70c3..6ce33a3259f96 100644 --- a/packages/gatsby-plugin-mdx/README.md +++ b/packages/gatsby-plugin-mdx/README.md @@ -475,7 +475,9 @@ all of the MDX content. import { MDXProvider } from "@mdx-js/react" const MyH1 = props =>

-const MyParagraph = props =>

+const MyParagraph = props => ( +

+) const components = { h1: MyH1,