diff options
Diffstat (limited to 'custom/jao-custom-eww.el')
-rw-r--r-- | custom/jao-custom-eww.el | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/custom/jao-custom-eww.el b/custom/jao-custom-eww.el index 6902285..dc643fb 100644 --- a/custom/jao-custom-eww.el +++ b/custom/jao-custom-eww.el @@ -20,6 +20,14 @@ (setq jao-browse-url-function #'jao-eww-browse-url) (setq eww-use-browse-url "^\\(gemini\\|gopher\\):") +;;; multipart html renderer +(defun jao-shr-html-renderer (handle) + (let ((fill-column nil) + (shr-width fill-column)) + (mm-shr handle))) + +(setq mm-text-html-renderer #'jao-shr-html-renderer) + ;;; Opening URLs (defun jao-eww-copy-link () (interactive) |