CopyQ icon indicating copy to clipboard operation
CopyQ copied to clipboard

Display html without storing it

Open Squirreljetpack opened this issue 1 year ago • 1 comments

Can we only store plain text, but display html?

I tried the https://github.com/hluk/copyq-commands/blob/master/Display/highlight-code.ini plugin, it's great, but it doesn't work if save and display html is turned off. I turned on only copy plain text option in pref>options for performance reasons (It works amazing on linux desktop but on my m1 the copyq window takes about a second to show up, is that normal?), but I wonder if maybe syntax highlighting would still be possible.

Squirreljetpack avatar Aug 19 '24 23:08 Squirreljetpack

Adding the following command would avoid storing the HTML format (here is how to add the command to CopyQ):

[Command]
Automatic=true
Command="
    copyq:
    removeData(mimeHtml)"
Icon=
Input=text/html
Name=Avoid Storing HTML

hluk avatar Aug 21 '24 18:08 hluk

perfect, thanks!

Squirreljetpack avatar Aug 31 '24 19:08 Squirreljetpack