Make React components globally available as shortcodes in MDX

Share this video with your friends

Send Tweet

Learn how to make imported components globally available across all of your MDX pages. The MDXProvider is able to "provide" MDX children nodes with components so you don't need to import them in every document they are used in.

You can read about the MDXProvider in the MDX docs.

Or see more instructions and additional context in the Gatsby docs for using shortcodes.