1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

VS Code マークダウンでスクリーンショットをコピペしたい

Last updated at Posted at 2025-03-28

VS Code 左下の歯車マークをクリックし「Settings」を開く

image.png

右上のsetting.jsonを開く

setting.json

setting.jsonを設定する

{
    "markdown.copyFiles.destination": {
        "*": "./images/${documentBaseName}/${documentBaseName}.${fileName/^(.+)\\.([^.]+)/$2/}"
    }
}

コピペすると設定した指定のフォルダにイメージ画像が配置される

image.png

image.png

マークダウンのプレビューは、Ctrl + Shit + v となります

参考

https://www.1ft-seabass.jp/memo/2024/04/26/vscode-current-markdown-copyfiles-destination-setting-ver2/
https://note.com/teaslife/n/nadfab4591bfb

1
0
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
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?