-
Notifications
You must be signed in to change notification settings - Fork 146
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
Serialize markdown inside custom components #196
Comments
You could try using this fork which upgrades MDX to v2 - discussion here, which seems to handle nested markdown better in my experience. It might work if your MDX becomes as follows, with new lines to force inline MDX transclusion: <Callout>
Markdown oh **yeah**!! [Cool,
right?](https://www.youtube.com/watch?v=dQw4w9WgXcQ)
</Callout> Further discussions: |
Afaik there is a stable release of mdx@2 coming soon, as soon as that is out we will put out a new release that supports it 😅 |
Hi @jescalan. Mdx 2 was out earlier this year, has there been any news on this? or any examples that you could share? Thanks |
Are you having trouble getting this to work correctly? |
The
children
props inside custom components aren't serialized. Let's say that you have aCallout
component like the following:We call it like this:
You will get something like this:

This issue extends this one.
The text was updated successfully, but these errors were encountered: