Skip to content

VS Code

Markdown

  • Find your file on the side bar.
  • Left-click and drag it onto the MD document, release it while holding the shift key.
  • A relative link to the file is created at the mouse position.

alt text

Pasting images

Pasting images into an images subdirectory: https://code.visualstudio.com/updates/v1_79#_markdowncopyfilesdestination

  • Configure the target subdirectory in VSCode (image below).
  • Item: *
  • Key: ${documentDirName}/images/
  • Copy an image to the clipboard.
  • Paste it directly to the MD file.
  • The image should be added to an images subdirectory next to the open MD file.

alt text