-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Closed
Labels
bugAn error in the Docusaurus core causing instability or issues with its executionAn error in the Docusaurus core causing instability or issues with its executiondomain: markdownRelated to Markdown parsing or syntaxRelated to Markdown parsing or syntax
Description
Have you read the Contributing Guidelines on issues?
- I have read the Contributing Guidelines on issues.
Prerequisites
- I'm using the latest version of Docusaurus.
- I have tried the
npm run clearoryarn clearcommand. - I have tried
rm -rf node_modules yarn.lock package-lock.jsonand re-installing packages. - I have tried creating a repro with https://new.docusaurus.io.
- I have read the console error message carefully (if applicable).
Description
When the end-of-line sequence is CRLF, it will cause a TabItem compilation error.
Reproducible demo
https://codesandbox.io/p/devbox/vigorous-roentgen-y2nwf6
Steps to reproduce
2.set end-of-line is CRLF
3.An error occurred while accessing the page
ERROR
Expected component TabItem to be defined: you likely forgot to import, pass, or provide it.
Expected behavior
if end-of-line is LF,it will success run. i will hope fix CRLF question
Actual behavior
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 122 x64 ,Node.js v20.9.0
- Operating system and version (e.g. Ubuntu 20.04.2 LTS): Window 11 23H2
Self-service
- I'd be willing to fix this bug myself.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugAn error in the Docusaurus core causing instability or issues with its executionAn error in the Docusaurus core causing instability or issues with its executiondomain: markdownRelated to Markdown parsing or syntaxRelated to Markdown parsing or syntax

