gatsby-mdx
gatsby-mdx copied to clipboard
Add components override mechanics via MDXProvider
@buz-zard - Can you elaborate on this issue a bit? (I'm evaluating possible solutions to the netlify-cms + mdx issue)
This issue is for gatsby-transformer-mdx. I had an idea that you'd be able to define defaultComponents
and the transformer would pass these to MDXProvider. You can always achieve this via having built the layout with MDXProvider, so it's more for convenience.
Regards netlify cms, the components
can already be passed via the props - check the readme.