Function: htmlize-region-save-screenshot
htmlize-region-save-screenshot is an interactive and byte-compiled
function defined in htmlize.el.
Signature
(htmlize-region-save-screenshot BEG END)
Documentation
Save the htmlized (see htmlize-region-for-paste) region in
the kill ring. Uses inline-css, with style information in
<pre> tags, so that the rendering of the marked up text
approximates the buffer as closely as possible.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/htmlize-20250724.1703/htmlize.el
(defun htmlize-region-save-screenshot (beg end)
"Save the htmlized (see `htmlize-region-for-paste') region in
the kill ring. Uses `inline-css', with style information in
`<pre>' tags, so that the rendering of the marked up text
approximates the buffer as closely as possible."
(interactive "r")
(let ((htmlize-pre-style t))
(kill-new (htmlize-region-for-paste beg end)))
(deactivate-mark))