How can rich text or HTML source code be obtained from the X clipboard? For example, if you copy some text from a web browser and paste it into kompozer, it pastes as HTML, with links etc. preserved. However, xclip -o for the same selection just outputs plain text. I'd like to pull the HTML out and into a text editor.
| |||||||||
feedback
|
|
With some help from the answer to the stackoverflow.com fork of this question, I built a ghetto command-line client to pull this info. Usage
Example:
The way this works, even the availability of different targets, seems to depend a lot on the application which is providing the clipboard data. There's a bit more info at the stackoverflow question. | |||
|
feedback
|
|
Does These could be abbreviated to
and
| |||
feedback
|