Deep Markdown Rendering #1268
-
Hi! # Blah
<MySpecialLayout>
Here's some more content.
_But i can use Markdown inside JSX tags_
Useful for:
- Applying layout
- styles
- etc.
</MySpecialLayout> Is there a way to do this? It doesn't work out of the box for the live editor on the site, but maybe there's a common pattern for doing what I'm trying to do. |
Beta Was this translation helpful? Give feedback.
Answered by
ChristianMurphy
Sep 16, 2020
Replies: 1 comment 1 reply
-
That is supported, it needs an extra newline between the JSX and the inner markdown # Blah
<MySpecialLayout>
Here's some more content.
_But i can use Markdown inside JSX tags_
Useful for:
- Applying layout
- styles
- etc.
</MySpecialLayout> you can try it out at https://mdxjs.com/playground Support further improves in MDX 2 #1041 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
d4hines
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That is supported, it needs an extra newline between the JSX and the inner markdown
you can try it out at https://mdxjs.com/playground
Support further improves in MDX 2 #1041