Remove shrface on nov

This commit is contained in:
Marcus Kammer 2022-05-06 20:29:00 +02:00
parent bedb3aac17
commit 875bb08a7e
Signed by: marcuskammer
GPG key ID: C374817BE285268F

View file

@ -21,12 +21,7 @@
(use-package nov
:hook (nov-mode . olivetti-mode)
:mode ("\\.epub\\'" . nov-mode)
:init
(add-hook 'nov-mode-hook #'shrface-mode)
:config
(require 'shrface)
(setq nov-shr-rendering-functions '((img . nov-render-img) (title . nov-render-title)))
(setq nov-shr-rendering-functions (append nov-shr-rendering-functions shr-external-rendering-functions))
(setq nov-text-width nil
nov-variable-pitch nil)
(when (eq system-type 'windows-nt)