Skip to content

Conversation

yaxu
Copy link

@yaxu yaxu commented Aug 25, 2025

Ref discussion here: #11081

@yaxu
Copy link
Author

yaxu commented Aug 25, 2025

As an aside, as a fellow maintainer of a popular Haskell app, I am moving my projects away from the closed-source microsoft github for ethical reasons (e.g.), and recommend codeberg.org as a nice alternative.

paragraph, will be rendered as a figure with a caption. The
image's alt text will be used as the caption.
image's alt text will be used as the caption. To set alt text
as well as a caption, use the 'alt' link_attribute (see below).
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd suggest using `alt` instead of 'alt'.

Attributes can be set on links and images:

An inline ![image](foo.jpg){#id .class width=30 height=20px}
An inline ![image](foo.jpg){#id .class width=30 height=20px alt="Alt text"}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not a good example, because in this inline image, the alt text will be set from the image description. Thus, you can just do ![alt text](foo.jpg). You would only have a reason to use alt= when the image is by itself in a paragraph, when the implicit_figures extension is set.

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

Successfully merging this pull request may close these issues.

2 participants