Treat image labels as Markdown alternative text

This commit is contained in:
2026-10-08 01:32:29 +00:00
parent 95599e96f6
commit 2e0d302178
4 changed files with 46 additions and 2 deletions

View File

@@ -59,7 +59,9 @@ submodule contents remain out of scope under either setting.
The parser recognizes inline links, images, reference links, and CommonMark
autolinks; link-like text in code is ignored, and raw HTML destinations are
outside this check. Relative paths resolve from the source document in the
outside this check. For linked images, the image source and enclosing link
target are checked. Image labels supply alternative text.
Relative paths resolve from the source document in the
captured commit. Query components are ignored for file existence, and percent
escapes in local paths and fragments are decoded once. Fragments are compared
in lowercase with anchors derived from visible ATX or Setext heading text.