Path to images

In my Hugo site preview, I can see images in static/images by using [images/whatever.png] (as you might expect).

But in my Markdown editor, of course, I can’t see the images in preview because from the editor’s point of view the images are in static/images.

Is there a single path that will work for both? I would like to be able to design a page in a Markdown editor, see it in preview, and then have Hugo render it so I can make sure it looks the same.

Please do not double post. You already opened this topic about the same issue:

https://discourse.gohugo.io/t/markdown-syntax-image-path-readable-by-both-editor-hugo/21980/2

Also see: https://discourse.gohugo.io/faq

1 Like