Skip to content

Commit

Permalink
Update upgrade.rst
Browse files Browse the repository at this point in the history
Change the argument name `alt` to `text` (as same as in the renderer code)
  • Loading branch information
lqez authored Aug 12, 2024
1 parent 93fd197 commit ca22efd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/upgrade.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ca22efd

Please sign in to comment.