From ca22efd3465ca0fb44ce671d8e0ac85a3874b458 Mon Sep 17 00:00:00 2001 From: Hyunwoo Park Date: Tue, 13 Aug 2024 01:10:13 +0900 Subject: [PATCH] Update upgrade.rst Change the argument name `alt` to `text` (as same as in the renderer code) --- docs/upgrade.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/upgrade.rst b/docs/upgrade.rst index 61d7474..1a31fb4 100644 --- a/docs/upgrade.rst +++ b/docs/upgrade.rst @@ -16,7 +16,7 @@ When customizing renderers, these methods' parameters are changed: + link(self, text, url, title=None) - image(self, src, alt="", title=None) - + image(self, alt, url, title=None) + + image(self, text, url, title=None) - heading(self, text, level) + heading(self, text, level, **attrs)