How to Add Images to Hugo Markdown Posts

June 13, 2018
Hugo Markdown

After working through the initial Hugo quick start easily, I was surprised at how hard it was to find a simple example of embedding an image in the markdown of a post. I knew the markdown format, but didn’t know what the relative path should be.

Turns out that it is super simple though: Make sure the image is in the static folder of your site, and then refer to it like the example below from your post markdown. Note the fact that you don’t have to worry about the relative path at all, you just need the image name as long as you are using the standard static folder.

![alt text here](/my_img.jpg)