Is it possible to reference an image file from the same directory as the MarkDown file?
See original GitHub issueThis is just for convenience sake, mostly. I have a lot of notes with a lot of images. Set images from %image_url%
is not as convenience than having the image in the same directory as the MarkDown (.md) files.
So instead of this.

I will just need to do this.

Is this possible?
Issue Analytics
- State:
- Created 7 years ago
- Reactions:4
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Store images in same directory as markdown file #2169 - GitHub
I paste an image from the clipboard: Mark Text stores the image in the same directory as the .md file I am editting...
Read more >How do I display local image in markdown? - Stack Overflow
Either put the image in the same folder as the markdown file or use a relative path to the image.
Read more >Getting Images into Markdown Documents and Weblog Posts ...
Type it in using Markdown  in the images folder very separate from the content is not ideal. Also, the fact that the designated images folder is located inside
themes/default/public
very much suggests that it’s intended for images relating to the site’s overall theme, not the actual content itself.A location for images inside the
content
folder would make more sense (the images are as much part of the documentation’s content as the text), and the ability to have images stored basically anywhere within thecontent
folder and referenced in documents using relative paths would allow me to organise my images with my.md
files, which would be much more convenient.Its probably useful to note that, many IDE where you can edit markdown, can display the image inline when its in the relative path… but having to place images into an image folder means the IDE for example in webstorm will not represent the edited page since it is not correctly referencing a rooted image path. This is open source project, and I am not a javascript programmer, so hopefully someone would like to take on this challenge. since this issue has been pending 5 years already. maybe quicker if I lean javascript. lol