Rudy’s OBTF Rudolf Adamkovič

Home / Emacs


Simple HTML renderer (SHR)

A rudimentary HTML rendered built into Emacs. Used, for example, by the Emacs Web Wowser or Notmuch.

Proportional fonts and custom colors make these hard to read. For instance, the mails from Humble Bundle are hard to read. Thus, we disable custom fonts and colors.

(setopt shr-use-fonts nil
        shr-use-colors nil)

Limit the width to make the rendered content readable.

(The value should match the fill-column-indicator.)

(setopt shr-width 72)

© 2025 Rudolf Adamkovič under GNU General Public License (GPL) version 3 or later.
Made with Emacs and secret alien technologies of yesteryear.