Is there a way to interact with the Windows rich text clipboard from the shell (e.g. git bash)?
For example, I’d like to construct a link that has text that is different from the url it refers to when clicked, so I can paste it into, well, anywhere you can paste things that are not just plain text. Or if I copy an image, is how can I retrieve it?
In git bash, /dev/clipboard
contains only plain text and is empty when I copy an image.
If there isn’t a way to do it from the shell, does maybe python have a module? And if that is not the case, is there a C API reference?