> You only need the figure environment when you want your image to "float" to a random place in your page.
Which is also something the Markdown version can't do at all (give fine control over how the image is positioned). You have to use raw HTML plus probably some CSS if you want that.