-
Notifications
You must be signed in to change notification settings - Fork 47
Description
I'd like to be able to configure a variable-pitch font for all regular text in a chat room, while seeing a fixed-width font for any pre-formatted text.
At present I can see a user option ement-room-shr-use-fonts which results in formatted (org.matrix.custom.html) messages being variable-pitch, but (as the docstring points out), "some messages won’t display in the same font as others", and seeing fixed-width messages interspersed with the formatted ones ends up being fairly ugly and distracting.
It would be nice if there was an option for un-formatted text to be rendered with the same variable-pitch face.
I can customize the ement-room-message-text face, but experimentally this causes pre-formatted code blocks (sent via the org-mode support) to render variable-pitch (although in-line verbatim and code text does end up fixed-width).
Without that face change I think 'shr-use-fonts' was doing all the right things for formatted messages, so a way to target only "unformatted" messages could work, but there might be some cleaner approach to unifying the behaviour.