Variable: htmlize-face-overrides
htmlize-face-overrides is a variable defined in htmlize.el.
Value
nil
Documentation
Overrides for face definitions.
Normally face definitions are taken from Emacs settings for fonts in the current frame. For faces present in this plist, the definitions will be used instead. Keys in the plist are symbols naming the face and values are the overriding definitions. For example:
(setq htmlize-face-overrides
'(font-lock-warning-face "black"
font-lock-function-name-face "red"
font-lock-comment-face "blue"
default (:foreground "dark-green" :background "yellow")))
This variable can be also be let bound when running htmlize-buffer.
Source Code
;; Defined in ~/.emacs.d/elpa/htmlize-20250724.1703/htmlize.el
(defvar htmlize-face-overrides nil
"Overrides for face definitions.
Normally face definitions are taken from Emacs settings for fonts
in the current frame. For faces present in this plist, the
definitions will be used instead. Keys in the plist are symbols
naming the face and values are the overriding definitions. For
example:
(setq htmlize-face-overrides
\\='(font-lock-warning-face \"black\"
font-lock-function-name-face \"red\"
font-lock-comment-face \"blue\"
default (:foreground \"dark-green\" :background \"yellow\")))
This variable can be also be `let' bound when running `htmlize-buffer'.")