Have you read the Contributing Guidelines on issues?
Prerequisites
Description
Placing JSX in mdx-code-block works fine on Linux, but when developing on Windows, it directly displays the code block instead.
Reproducible demo
No response
Steps to reproduce
Placing a piece of JSX inside mdx-code-block and running it in a Windows environment can reproduce the issue.
Expected behavior
The card list has been rendered.

Actual behavior
The code block is presented.

Your environment
- Public source code:
- Public site URL:
- Docusaurus version used: 3.1.1
- Environment name and version (e.g. Chrome 89, Node.js 16.4):chrome, Node.js 20.9.0
- Operating system and version (e.g. Ubuntu 20.04.2 LTS): Windows 10
Self-service
Have you read the Contributing Guidelines on issues?
Prerequisites
npm run clearoryarn clearcommand.rm -rf node_modules yarn.lock package-lock.jsonand re-installing packages.Description
Placing JSX in mdx-code-block works fine on Linux, but when developing on Windows, it directly displays the code block instead.
Reproducible demo
No response
Steps to reproduce
Placing a piece of JSX inside mdx-code-block and running it in a Windows environment can reproduce the issue.
Expected behavior
The card list has been rendered.

Actual behavior
The code block is presented.

Your environment
Self-service