Drag-n-Drop from outside the vault
-
drag
a file from outside the vault into a note anddrop
it:- Obsidian will copy the file to your attachments folder, then
- create an embed wikilink to it in the note:
- Example 1:
![[AC_DC - Hells Bells.mp3]]
- Result: ![[AC_DC - Hells Bells.mp3]]
- Example 2:
![[LUER Lock needles.txt]]
- Result: ![[LUER Lock needles.txt]]
- Example 1:
-
drag
a file from outside the vault into a note andCtrl+drop
it:- Obsidian will not copy the file into the vault but instead create a
file:
link to it in the note:- Example 1:
[AC_DC - Hells Bells](file:///home/matthias/Musik/Tagged/AC_DC/AC_DC%20-%20Family%20Jewels/AC_DC%20-%20Hells%20Bells.mp3)
- Result: [AC_DC - Hells Bells](file:///home/matthias/Musik/Tagged/AC_DC/AC_DC%20-%20Family%20Jewels/AC_DC%20-%20Hells%20Bells.mp3)
- Example 2:
[LUER Lock needles](file:///mnt/matthias/Install/China-Kram/LUER%20Lock/LUER%20Lock%20needles.txt)
- Result: [LUER Lock needles](file:///mnt/matthias/Install/China-Kram/LUER%20Lock/LUER%20Lock%20needles.txt)
- Example 1:
- The
file:
link will be URL-encoded automatically. - When clicked, the file will open with the associated application (if any).
- Note that
file:
links are absolute links and thus machine-specific. These will most probably not work if the vault is synced to another machine!
- Obsidian will not copy the file into the vault but instead create a
This is how it looks on my system: