unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#54480: 28.0.91; shr: face for <code> elements
@ 2022-03-20 15:36 Augusto Stoffel
  2022-03-21 15:01 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Augusto Stoffel @ 2022-03-20 15:36 UTC (permalink / raw)
  To: 54480; +Cc: Protesilaos Stavrou

Currently, shr renders <code> elements by applying the `fixed-pitch'
face.  Should it perhaps define and use a `shr-code' face that can be
themed?

The <code> element is more of a logical markup than <italic> or <bold>,
where it is clearly appropriate to hardcode the `italic' and `bold'
faces, respectively.  Moreover, <code> is currently indistinguishable
from normal text if shr-use-fonts is nil.





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#54480: 28.0.91; shr: face for <code> elements
  2022-03-20 15:36 bug#54480: 28.0.91; shr: face for <code> elements Augusto Stoffel
@ 2022-03-21 15:01 ` Lars Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2022-03-21 15:01 UTC (permalink / raw)
  To: Augusto Stoffel; +Cc: 54480, Protesilaos Stavrou

Augusto Stoffel <arstoffel@gmail.com> writes:

> Currently, shr renders <code> elements by applying the `fixed-pitch'
> face.  Should it perhaps define and use a `shr-code' face that can be
> themed?

I've now added this to Emacs 29.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-03-21 15:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-20 15:36 bug#54480: 28.0.91; shr: face for <code> elements Augusto Stoffel
2022-03-21 15:01 ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).