-
-
Notifications
You must be signed in to change notification settings - Fork 459
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reformatting does not work on .mdx files #3551
Labels
Comments
My list of installed extensions (in case the "mdx" extension could interfere for example):
|
This issue has been labeled as stale due to inactivity. Reply to keep this issue open. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
Prettier manages to reformat all kinds of files. ".mdx" files however are not formatted.
Github Repository to Reproduce Issue
https://github.com/Signum/prettier-mdx-debug
Steps To Reproduce:
Expected result
The frontmatter/YAML part should be rewrapped to 120 columns:
Actual result
The file is not reformatted.
Additional information
VS Code Version: 1.94.2
Prettier Extension Version: v11.0.0
OS and version: Linux Mint 21.3
Hint: When installing prettier with "pnpm install prettier" and running "npx prettier index.mdx" the file gets reformatted properly.
Prettier Log Output
The text was updated successfully, but these errors were encountered: