Markdown does not work inside JSX components #5565
Labels
bug
An error in the Docusaurus core causing instability or issues with its execution
closed: working as intended
This issue is intended behavior, there's no need to take any action.
🐛 Bug Report
Description
I might be missing somehting, but according to MDX documentation it is legit to use Markdown syntax inside component and HTML tags, i.e. the markup like this
<div>This is **bold** word</div>
should result in bold being bold, and it does so in MDX Playground. It does not work in MDX docs rendered by Docusaurus 2, where the text wrapped inside comonent seems to be parsed as plain text, rather than Markdown.I can't find in Docusaurus 2 documentation any mention this is not supposed to work, and I can't find related issue tickets in this repo either.
The text was updated successfully, but these errors were encountered: