htmlize-region-for-paste

htmlize-region-for-paste is a Lisp function in `htmlize.el'.

(htmlize-region-for-paste BEG END)

Htmlize the region and return just the HTML as a string.
This forces the `inline-css' style and only returns the HTML body,
but without the BODY tag. This should make it useful for inserting
the text to another HTML buffer.