Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.


    Make React components globally available as shortcodes in MDX


    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.