I have a simple markdown file containing an image:
![image](MyLovelyImage.png "some title")
I'm using the GitHub viewer and there I see the image fine, but without the title / caption. Is there any way to solve this?
Markdown's link / image titles aren't the same as captions, and Markdown itself has no support for captions.
However, since Markdown supports inline HTML, you can caption images using <figure>
and <figcaption>
.
Here is an example from the previous MDN link:
<figure>
<img
src="https://developer.mozilla.org/static/img/favicon144.png"
alt="The beautiful MDN logo.">
<figcaption>MDN Logo</figcaption>
</figure>