Last active
August 23, 2024 12:03
-
-
Save hluk/aa7d006a757f5f0b24fb51d1a68577cc to your computer and use it in GitHub Desktop.
CopyQ Command: Add blank line when copied
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Command] | |
Automatic=true | |
Command=" | |
copyq: | |
var text = str(data(mimeText)) | |
if (!text) | |
abort() | |
text += '\\n\\n' | |
setData(mimeText, text) | |
var html = str(data(mimeHtml)) | |
if (html) | |
copy(mimeText, text, mimeHtml, html) | |
else | |
copy(mimeText, text)" | |
Icon=\xf46d | |
Name=Add Blank Line |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment