markdownvisual-studio-code

How to turn off VS Code auto-formatting for Markdown files?


Is there a way to exclude my Readme.md file from auto-formatting when saving in VS Code? I still want auto-format for other file types.


Solution

  • Go to settings.json and paste:

    "[markdown]": {
      "editor.formatOnSave": false
    }
    

    Here is the link, where you find this and other configurations