Skip to content

Commit cfe075b

Browse files
authored
Add clarification of alt on img in docs
Reviewed-by: Titus Wormer <tituswormer@gmail.com> Closes GH-692.
1 parent 03327fb commit cfe075b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

readme.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,8 @@ Other remark or rehype plugins that add support for new constructs will also
571571
work with `react-markdown`.
572572

573573
The props that are passed are what you probably would expect: an `a` (link) will
574-
get `href` (and `title`) props, and `img` (image) an `src` (and `title`), etc.
574+
get `href` (and `title`) props, and `img` (image) an `src`, `alt` and `title`,
575+
etc.
575576
There are some extra props passed.
576577

577578
* `code`

0 commit comments

Comments
 (0)