Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image captions require {} to render #49

Open
sudara opened this issue Aug 22, 2024 · 1 comment
Open

Image captions require {} to render #49

sudara opened this issue Aug 22, 2024 · 1 comment

Comments

@sudara
Copy link

sudara commented Aug 22, 2024

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")
@vaakash
Copy link
Owner

vaakash commented Aug 22, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants