Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add components override mechanics via MDXProvider #22

Open
karolis-sh opened this issue Dec 26, 2018 · 2 comments
Open

Add components override mechanics via MDXProvider #22

karolis-sh opened this issue Dec 26, 2018 · 2 comments
Labels
enhancement New feature or request package:gatsby-transformer-mdx Issue related to gatsby-transformer-mdx package

Comments

@karolis-sh
Copy link
Owner

No description provided.

@karolis-sh karolis-sh added enhancement New feature or request package:gatsby-transformer-mdx Issue related to gatsby-transformer-mdx package labels Dec 26, 2018
@damassi
Copy link

damassi commented Jan 23, 2019

@buz-zard - Can you elaborate on this issue a bit? (I'm evaluating possible solutions to the netlify-cms + mdx issue)

@karolis-sh
Copy link
Owner Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request package:gatsby-transformer-mdx Issue related to gatsby-transformer-mdx package
Projects
None yet
Development

No branches or pull requests

2 participants