Last active
August 26, 2024 02:47
-
-
Save dmi3/eb6528a8e7c31807830cc3c841cb6c5e to your computer and use it in GitHub Desktop.
Url Preview Markdown https://developer.run/70
This file contains 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] | |
Command=" | |
copyq: | |
//https://developer.run/70 | |
//https://copyq.readthedocs.io/en/latest/scripting-api.html | |
popup(\"Downloading page...\") | |
// !!! Replace Dir().homePath() with location to store images | |
r = execute(\"url-preview-md.py\", Dir().homePath(), clipboard()) | |
if (r.stderr) { | |
popup(\"Error\", r.stderr) | |
} else { | |
copy(r.stdout) | |
popup(\"Download complete\") | |
paste() | |
} | |
" | |
Icon=\xf15b | |
InMenu=true | |
IsGlobalShortcut=true | |
Name=Url Preview Markdown |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment