I'm working on a project with MDX pages using React components. When I add text inside the component I would like to have HTML generated (like with content outside of components). But the generated page has only text inside the component and not HTML.
This is my code:
Component js:
<Container>
{props.children}
</Container>
MDX page:
<Component>
**Generated HTML**
</Component>
Generated page:
<div>
**Generated HTML**
</div>
Expected behaviour:
<div>
<p><strong>Generated HTML</strong></p>
</div>
How can I fix this?
Thanks!