Is there a way to copy text from emacs with faces in windows?

From time to time I come across a situation where I need to send part of the code from emacs. When I paste text into my email program (not emacs), all color highlighting is lost. This is especially unpleasant when pasting from org-mode , which is heavily dependent on color for readability. It would be nice to keep the edges of the font.

Is there any way to do this? I am looking for a result similar to the output of ps-print-buffer-with-faces .

+6
source share
1 answer

Assuming your email can handle html, try Mx htmlfontify-buffer , which converts the contents of the current buffer (with faces) to the html CSS style.

+5
source

Source: https://habr.com/ru/post/911245/


All Articles