From d9eb84b0a3de4fe6a9c074e0d0f13820a3563b18 Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Sat, 12 Sep 2020 10:48:08 +0200 Subject: [PATCH] Make shr render html-pages more consistently Configuration from https://protesilaos.com/dotemacs. --- init.el | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/init.el b/init.el index 35ea0b3..1269086 100644 --- a/init.el +++ b/init.el @@ -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