1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

VS CodeでMarkdown書くときに空白削除されるのを防ぐ

Posted at

Markdownだけ空白削除を防止

普段保存時に行末の空白を削除する設定を入れてるのですが、Markdownで意図的に改行したいときは空白2個を入れます。何もしないとせっかく書いたMarkdownの改行がぶっ壊れるので防止する方法をば。

1.基本設定→設定
image.png

2.setting.jsonを開く

image.png

3.Workspaceの設定
image.png

4.以下追記

    "[markdown]": {
        "files.trimTrailingWhitespace": false
    }
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?