Source: Paste Images from Clipboard

← Rendered

markdown source:

---
description: Вcnавка изображений из кэша операционки в foam
tags: vscode
title: Paste Images from Clipboard
---
You can paste an image from the clipboard with `cmd+alt+v`.

Images are automatically copied to the `/attachments` folder and a reference is added in the file where you pasted them.

A prompt will ask you to confirm the name of the image, to disable it set   `"pasteImage.showFilePathConfirmInputBox": false,` in the settings.

To change the location where the image is created, change the `pasteImage.path` property, e.g.:

- `${currentFileDir}`: save the image next to the file
- `${currentFileDir}/images`: create an `images` directory next to the file and save the image there

For more info check the [vscode-paste-image](https://github.com/mushanshitiancai/vscode-paste-image) extension page.

[[как-работать-с-foam]]


[как-работать-с-foam]: %D0%BA%D0%B0%D0%BA-%D1%80%D0%B0%D0%B1%D0%BE%D1%82%D0%B0%D1%82%D1%8C-%D1%81-foam "Как работать с foam"