@funkydan2
Sorry, I have read the document, and maybe I mislead you before.
I am not going to just list a batch of images in a page continuously, instead, insert the image where needed, so I update the test demo.
For my test example above, the page hello/index.html generated from hello.md references the images within its own folder:
So how to config to make hello/index.html rendering OK?
shortcode for each image inside md file. I think it is insufficient when there are many images in md file, and it is not compatible with other markdown editor, such vscode and Typora. (If I misunderstand the using of shortcode please point out mistakes so that I can be corrected)
containing only 1 md file in each directory, e.g. index.md file. It is insufficient, cause most of the time, we will put several md files belong to one category in the same directory.
@funkydan2 {{< figure src="images/image.png" >}} does not work too.
And, in my opnion, the format of inserting image is compatible with other Markdown editor such as Typora for preview maybe better.
So, is there other solution to keep the inserting image format  but Hugo can also render the html page correctly?