I created a custom collection in my Jekyll configuration:
collections: tutorials: output: true permalink: /tutorials/:path/ I have a markdown file with the path: _tutorial/category/ios.md I also have an image with the path: _tutorial/category/xcode.png
In ios.md I use: 
Which should make sense since they are on the same directory.
In the _site generated folder, I see
tutorial/ category/ xcode.png ios/ index.html So obviously the generated HTML is looking at the wrong place for the image since they are no longer in the same directory.
I thought of changing my structure to have my markdown file be _tutorial/category/ios/index.md, however all it did was create a folder called index so the problem is the same.
What is the expected way to include images in Jekyll/Markdown?
Am I supposed to keep them all in a folder at the root of the site? That would obviously work but it makes it hard to keep track of which images are associated with each post...
. But I am wondering what's the best practice too.{{ content | markdownify }}. I haven't tried this.