From cfe075b913cb5a8aee43c7b8360d22d8554ff394 Mon Sep 17 00:00:00 2001 From: Carlos Ballena Date: Sun, 5 Jun 2022 06:49:29 -0400 Subject: [PATCH] Add clarification of `alt` on `img` in docs Reviewed-by: Titus Wormer Closes GH-692. --- readme.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 6223cfc9..caceef38 100644 --- a/readme.md +++ b/readme.md @@ -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`