Skip to content

Gatsby-plugin-mdx transformation of GraphQL fields #37471

Discussion options

You must be logged in to vote

I was able to circumvent this issue by using remark in combination with rehypeReact. With the rehypeReact processor I am able to assign custom components to certain html tags. For more information see https://blog.hao.dev/how-to-render-react-components-in-markdown-in-gatsby.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jan-wagenaar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant