git-it-write icon indicating copy to clipboard operation
git-it-write copied to clipboard

Image captions require `{}` to render

Open sudara opened this issue 1 year ago • 1 comments

Not sure if the documentation here needs updating or it's a bug, but the following work:

![alt text for the image](/_images/pic4.jpg "Caption for the image"){}
![alt text for the image](/_images/pic4.jpg "Caption for the image"){.aligncenter}

But the line used in the documentation does not:

![alt text for the image](/_images/pic4.jpg "Caption for the image")

sudara avatar Aug 22 '24 16:08 sudara

Hi @sudara,

{} is optional. It is used only to include attributes like classname or ID.

GIW uses parsedown extra like in the demo below. https://parsedown.org/extra/

If image is not rendered on your end without {}, can you please share final output of that image tag?

Thanks, Aakash

vaakash avatar Aug 22 '24 21:08 vaakash