chore: add vscode settings to allow pasting/dropping images directly into content collections
This commit is contained in:
parent
9566b4403f
commit
f2c2aa7b8d
2 changed files with 18 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -3,7 +3,6 @@ dist/
|
|||
# generated types
|
||||
.astro/
|
||||
.idea/
|
||||
.vscode/
|
||||
|
||||
# dependencies
|
||||
node_modules/
|
||||
|
|
18
.vscode/settings.json
vendored
Normal file
18
.vscode/settings.json
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
// Enable pasting files into a Markdown editor to create Markdown links.
|
||||
"markdown.editor.filePaste.enabled": true,
|
||||
|
||||
// Copy pasted media files into a Markdown editor to the workspace.
|
||||
"markdown.editor.filePaste.copyIntoWorkspace": "mediaFiles",
|
||||
|
||||
// Enable dropping files into a Markdown editor to create Markdown links.
|
||||
"markdown.editor.drop.enabled": true,
|
||||
|
||||
// Copy dropped media files into a Markdown editor to the workspace.
|
||||
"markdown.editor.drop.copyIntoWorkspace": "mediaFiles",
|
||||
|
||||
// Define the destination folder for copied files.
|
||||
"markdown.copyFiles.destination": {
|
||||
"/src/content/**/*": "/src/images/content/${documentBaseName}/"
|
||||
},
|
||||
}
|
Loading…
Add table
Reference in a new issue