Next: , Previous: , Up: Integration   [Contents][Index]


5.3 Render HTML in Gnus articles

To have Web within Emacs render HTML in news articles in Gnus you can load wwe-gnus.el and set the variables ‘gnus-article-wash-function’ and ‘mm-text-html-renderer’.

In your .emacs file add the following:

(require 'wwe-gnus)
(setq gnus-article-wash-function 'wwe-gnus-wash-html
      mm-text-html-renderer 'wwe-gnus-render-inline-html)

Inline HTML is rendered automatically and washing HTML works as always by typing ‘W h’.

At this time the only keybinding that works as if you were in ‘wwe-mode’ is ‘RET’ to follow links. You’ll need to use the ‘wwe-minor-mode’ prefix ‘C-c .’ for other actions. To view an image, for example, type ‘C-c . i’, or if you have set a global keybinding for certain commands, you could use those.