When posting a figure in a question or answer, is there some way of puting a caption in the figure?
When typing smt inside the brackets:

[![enter image description here][1]....

no caption appears. (In fact any text placed inside the brackets does not appear at all).
Am i doing something wrong ?

  • 3
    $\begingroup$ I don’t think markdown has support for image captions. The “image description” in square brackets is the alt text of the image. You can also have tooltips, as explained in the editing help. $\endgroup$ Commented Mar 22, 2017 at 17:51
  • $\begingroup$ @Emil Jeřábek: thank you for your feedback. $\endgroup$ Commented Mar 23, 2017 at 23:50

2 Answers 2


Here is a way to simulate captions, which I used in this MO posting re random shape rotations:

<hr />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
Rotation center $c_0$ fixed to centroid of $R_0$: $\rightarrow$ disk.
(Scale changes frame-to-frame.)
<hr />

The &nbsp; are non-breaking spaces to indent a bit. The <br /> starts a newline. <sup> is a supremum exponent—smaller font.

Tedious, but works within the limited options available to us.


There is no support for image captions in markdown.

The value you enter renders as a alt attribute on the image, not a caption.

This is the text shown if the image fails to upload.

  • $\begingroup$ Thank you for your prompt response. But -please excuse in advance my ignorance on programming concepts- wouldn't it be quite easy and useful to include such a feature (captions in figures) in the posts of the stackexchange communities? $\endgroup$ Commented Mar 23, 2017 at 23:45

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .