How to embed an image in a post
An image is a great way to make a post better. If chosen properly, it can give context or theme for a post, and it makes the post more recognizable for later.
The simplest way to add an image to Markdown is the image syntax:

Which gives us this:
This has one problem though — it is hard to add an image caption in a clean and simple way.
As it turns out, the best way to do it is by inserting plain HTML:
<figure>
<img alt="Alt text" src="https://examples.com/image.jpg"/>
<figcaption>Image caption</figcaption>
</figure>
Now the image looks like this:
Based on this Stackoverflow answer.