End-of-line CRLF sequence causes TabItem compilation error #9896
Labels
bug
An error in the Docusaurus core causing instability or issues with its execution
domain: markdown
Related to Markdown parsing or syntax
Have you read the Contributing Guidelines on issues?
Prerequisites
npm run clear
oryarn clear
command.rm -rf node_modules yarn.lock package-lock.json
and re-installing packages.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
1.write md content
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
Self-service
The text was updated successfully, but these errors were encountered: