gnome-shell-extension-clipboard-indicator
gnome-shell-extension-clipboard-indicator copied to clipboard
Feature request to support markup language
Like hyperlinked text.
Video screencast demoing the feature lack:
https://youtu.be/mF_1Roz2V9Y
If someone has an idea how to implement, I am all ears. :-)
Thank you for this feature request. I would also like to have this functionality :smile: Unfortunately, I am not sure how to implement something like that.
Unfortunately, I am not sure how to implement something like that.
Hope someone can jump in and shed some light. Actually the guys from CopyQ support Markups. Going to send them an email if they can help us out here with some advice!
CopyQ basically uses "text/html" target atom to get/set the rich text in clipboard.
You can print the HTML formatted text with e.g. xclip -selection clipboard -out -target text/html
(not sure how to access the data from the extension).
@hluk thanks so much for your comment! @Tudmotu does that create any new insights?
Thanks @hluk ! I'm still not sure how to do the same thing in the context of a gnome-shell extension. Looking at St.Clipboard I don't see any API for that. But looking at Gtk.Clipboard, is seems like there is API for "rich text" and "image". Not sure if we can use that API, but maybe worth checking.