Copy selection as HTML

Pavel Perestoronin 8 years ago updated by Ryan McCullough 6 years ago 2
An option to copy the selected text to clipboard as formatted text with syntax highlighting.
I like the idea, but I'm not totally sure how this would best be implemented: would one want the resultant HTML to use all inline styles, or to include a CSS <style> block before the HTML?

I guess the best would be to provide both options. But maybe this functionality would be better suited to be delivered as a plugin, since there may be other customizations users would want to make to the output.