copy-selected-tabs-to-clipboard icon indicating copy to clipboard operation
copy-selected-tabs-to-clipboard copied to clipboard

Option for prefix and suffix

Open kevincox opened this issue 5 years ago • 4 comments
trafficstars

Right now you can set a per-link template, and it is joined with newlines. It would be very useful to be able to add a prefix and suffix. For example I am trying to create an html list and would like to prefix with <ul> and suffix with </ul>.

kevincox avatar Sep 04 '20 13:09 kevincox

Hi @piroor !

I think what @kevincox is asking for would be really helpful. There are use cases where you need to enter something at the beginning, at the end, or in both places. Please consider adding this functionality.

🙏Thanks for sharing this very useful extension.

claudio-salvio avatar Apr 12 '24 13:04 claudio-salvio

Sorry I missed this. The commit 2ab1ad1 implements it.

piroor avatar May 19 '24 18:05 piroor

Hi @piroor

Sorry, I had missed this news. 🙏Thank you very much for implementing this request !

There were several scenarios I was thinking of when I supported this request. Some of them were:

  • CSV files that had a header
  • array or hashtable declarations
  • diagrams in PlantUML
  • markdown tables

Best regards, Claudio Salvio

claudio-salvio avatar Sep 28 '24 02:09 claudio-salvio

OK, I've added more examples: https://github.com/piroor/copy-selected-tabs-to-clipboard/blob/trunk/README.md#example-copy-formats

piroor avatar Dec 11 '24 05:12 piroor