How to keep Soft Line Wrap at Column width Visual Studio Code and MarkDown

I’m trying Visual Studio Code at the moment and it’s a fun and fast atom alternative. One of my early annoyances was that I could not figure out how to make my MarkDown files wrap at the desired column width.

The trick apparently is to define the following settings:

"editor.rulers": [80],
"editor.wordWrap": "wordWrapColumn",
"editor.wordWrapColumn": 80,
"[markdown]": {
    "editor.wordWrap": "wordWrapColumn",
    "editor.quickSuggestions": false

to override the Visual Studio Code specific defaults to markdown files not wrapping on 80 if you define that as a desired width (for split screen or just to have a better writing experience)

Personally I prefer to have the column width at about half the screen on an HD monitor so there are less words per line when I quickly read through my texts and future blog posts to check spelling or move things around.

How do you write?

How do you write your blog posts, journal entries or other texts? MarkDown LaTeX, other languages? Let me know in the comments or on twitter!

Thank you for reading! If you have any comments, additions or questions, please leave them in the form below! You can also tweet them at me

If you want to read more like this, follow me on feedly or other rss readers

3 thoughts on “How to keep Soft Line Wrap at Column width Visual Studio Code and MarkDown”

  1. In January 2020, a new wrapping option was added to VS Code that adapts the wrap logic to deal with variable-width fonts in the editor, so the wordWrapColumn setting can be fuzzy or just left out. (

    I find myself sometimes editing documentation in a very narrow window, because I just don’t have enough monitors. 😉 To facilitate a word-wrap that also adapts to the width of the editor, I use “bounded” instead of “wordWrapColumn” so that “Lines will wrap at the minimum of viewport and #editor.wordWrapColumn#.”

    “[markdown]”: {
    “editor.wrappingStrategy”: “advanced”

Leave a Reply

Your email address will not be published. Required fields are marked *