TOC is missing when content imported via mdx #4414
Labels
bug
An error in the Docusaurus core causing instability or issues with its execution
closed: duplicate
This issue or pull request already exists in another issue or pull request
🐛 Bug Report
When an mdx file is imported into an other mdx file, the imported content is ignored by the TOC.
To Reproduce
main.mdx:
Expected behavior
The headers from demo.mdx should be visible in the TOC of main.mdx
Actual Behavior
TOC ignores demo.mdx, when imported.
Your Environment
"@docusaurus/core": "2.0.0-alpha.71",
"@docusaurus/preset-classic": "2.0.0-alpha.71",
The text was updated successfully, but these errors were encountered: