Show better looking epub books

This commit is contained in:
Marcus Kammer 2021-06-17 08:35:04 +02:00
parent 7c07f5d821
commit d4a2778b7d

View file

@ -71,7 +71,12 @@
(use-package nov
:hook (nov-mode . olivetti-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))