I wanted to embed images in markdown with a caption the other day and discovered that there's a <figcaption>
tag in html
You'd use it this way:
<figure> <img src="https://i.imgur.com/Xm1A7wt.jpg" alt="Heavenly image" /> <figcaption align="center"> <b> your caption here </b> </figcaption> </figure>