]> git.eshelyaron.com Git - emacs.git/commit
Make some aspects of shr rendering customizable
authorRahguzar <rahguzar@zohomail.eu>
Mon, 23 Oct 2023 19:23:53 +0000 (21:23 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 25 Nov 2023 10:54:13 +0000 (12:54 +0200)
commit88bd83d17839f6df259c1fc820fdea320545ec4b
tree07c0c566905927978026b47125567e14d9db8be5
parent9656fe03585077370b18c7ece2407e55df24a5fa
Make some aspects of shr rendering customizable

* lisp/net/shr.el (shr-fill-text, shr-sup-raise-factor)
(shr-sub-raise-factor, shr-image-ascent): New custom variables.
(shr-fill-lines): Only fill if 'shr-fill-text' is non-nil.
(shr-put-image): Use 'shr-image-ascent' as value of :ascent.
(shr-rescale-image, shr-make-placeholder-image): Use
'shr-image-ascent'.
(shr-tag-sup, shr-tag-sub): Use 'shr-sup/sub-raise-factor'.
(Bug#66676)
lisp/net/shr.el