hluk / copyq-commands

Useful commands for CopyQ clipboard manager.
339 stars 73 forks source link

Update "Convert Markdown to": store HTML as rich text, or as source code like before #35

Closed pbodnar closed 3 years ago

pbodnar commented 3 years ago

Hi, another slight, usability update to my little converter. :)

pbodnar commented 3 years ago

@hluk, while implementing this change, I have noticed a slight inconsistency between CopyQ's functions add(item) and copy(mimeType, data, [mimeType, data]...). You can see I introduced copyItem(item), so that the code is kept concise. What do you think about supporting copy(item) variant right in the CopyQ core?

hluk commented 3 years ago

Yeah, the arguments to add/set/change/copy items are really inconsistent in the API.

Since the next version will contain some bigger changes (because of JS engine upgrade), I will improve that: https://github.com/hluk/CopyQ/pull/1538