Skip to content

Commit

Permalink
Add clarification of alt on img in docs
Browse files Browse the repository at this point in the history
Reviewed-by: Titus Wormer <tituswormer@gmail.com>

Closes GH-692.
  • Loading branch information
cballenar authored Jun 5, 2022
1 parent 03327fb commit cfe075b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,8 @@ Other remark or rehype plugins that add support for new constructs will also
work with `react-markdown`.

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

* `code`
Expand Down

0 comments on commit cfe075b

Please sign in to comment.