Show better looking epub books
This commit is contained in:
parent
7c07f5d821
commit
d4a2778b7d
1 changed files with 5 additions and 0 deletions
|
@ -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))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue