Make shr render html-pages more consistently

Configuration from https://protesilaos.com/dotemacs.
This commit is contained in:
Daniel - 2020-09-12 10:48:08 +02:00
parent 7134ce2999
commit d9eb84b0a3
No known key found for this signature in database
GPG Key ID: 1C7071A75BB72D64
1 changed files with 7 additions and 0 deletions

View File

@ -2808,6 +2808,13 @@ With given ARG, display files in `db/important-document-path."
(use-package pdf-tools
:commands (pdf-tools-install))
(use-package shr
:init (setq shr-use-fonts nil
shr-use-colors nil
shr-max-image-proportion 0.7
shr-image-animate nil
shr-width (current-fill-column)))
;; Interactive interface to sdcv, the StarDict concole version. To use sdcv,
;; put the dictionary data under ~/.stardict/dic.
(use-package sdcv