black on white / light-on-dark HTML from light on black emacs buffers
28 November 2012
In my emacs I use a dark background with a light color for text and have the impression that it is less painful on the eyes that the more common black-on-white. So far so nice, but when I want to export buffer contents to HTML using htmlize-buffer
to post it here, I get the same light on black which seems incompatible with the design of this blog. The solution is to advise the function htmlize-buffer
to temporarily change the default face (that’s where I changed the colors to light on black) when the conversion is done. The actual...
Read more.