Word-wrap markdown and mdx in VS Code
If you want to word wrap markdown (.md
) files in VS Code, add the following to settings.json
:
"[markdown]": {
"editor.wordWrap": "bounded",
"editor.wordWrapColumn": 80
}
That didn't work for all the .mdx
files I use on this site. I tried adding the following and it worked! 🔥
"[mdx]": {
"editor.wordWrap": "bounded",
"editor.wordWrapColumn": 80
}