Discussions

Ask a Question
Back to All

Different alt text with the image widget?

The image widget uses the same text for the caption of a figure and for the alt text of the image. However, you might want different text, because these items have different audiences. You might use a brief description for the caption and a more detailed description for the alt text.

I know I can specify alt text via "plain" markdown:

![This is alt text](https://example.com/path/to/image.png)

But then I lose the benefits of the image widget.

Is there any way to do it?