Sublime Forum

How do I insert an image path quickly in markdown using sublime text

#1

I am writing some markdown file which will show some images in another directory. The directory structure is like the following:

D:\NUTSHARE\PERSONAL_NOTE
├─daily_note
├─images
├─misc
├─resources
└─tech_note

I write markdown file in one of the daily_note, misc, resources and tech_note directory and reference images in the images directory.

To insert image, I use the Markdown syntax: ![<IMG_DESCRITPION>](<IMG_PATH>).
I wonder if there are tools or shortcut or snippet to help me to quickly insert the path of an image located in the images directory. Having to type the relative path every time I want to insert an image is time-wasting.

0 Likes

#2

try:
https://packagecontrol.io/packages/AutoFileName
https://packagecontrol.io/packages/FileSystem%20Autocompletion

0 Likes