WebStorm markdown hard wrap reflow
Answered
Hi.
We are using markdown files with Docusaurus for our support documentation and have a policy of hard wrapping lines at 120 chars.
However when WebStorm is set to hard wrap at 120 on typing and then you edit the text, the wrap is broken and takes a long time to fix manually.
What is the setting to do this automatically? VS Code can do it. Please see video and settings image attached.
Upload id: 2023_01_23_28ptipmaoeZ3bVnX6vPfTT (files: Screen Recording 2023-01-23 at 11.12.09.mov, Screenshot 2023-01-23 at 11.09.36.png)
Please sign in to leave a comment.
Please check https://youtrack.jetbrains.com/issue/IDEA-140954/Support-Fill-Paragraph-action-in-Markdown.
This feature is available since 2023.1 EAP: https://www.jetbrains.com/idea/nextversion/.
Doesn't work. Always greyed out in `.mdx` files.
Do you have it mapped to the bundled markdown plug-in in the file types? Can you share a file where it doesn't work at https://uploads.jetbrains.com?
> Do you have it mapped to the bundled markdown plug-in in the file types?
I don't know how to do this. It's an .mdx file type. I'm using Docusaurus and the MDX JetBrains plugin. It's also greyed out on .md files too.
Fill Paragraph works for me in MD files in 2023.1 EAP build.
MDX is not supported, a request is welcome at https://youtrack.jetbrains.com/newIssue?project=WEB.