Skip to content

Instantly share code, notes, and snippets.

@epramono
Created August 5, 2013 08:39
Show Gist options
  • Select an option

  • Save epramono/6154337 to your computer and use it in GitHub Desktop.

Select an option

Save epramono/6154337 to your computer and use it in GitHub Desktop.
When you're composing your own custom URL actions in Drafts, you often find yourself in need of a simple URL encoding service to encode parts of your action. If you have Launch Center Pro installed, you can use this action to encode the current content of your post and store the encoded version in the clipboard. Requires: Drafts 2.5 and Launch C…
drafts://x-callback-url/create?
text=[[draft]]&
action={{Copy to Clipboard}}&
x-success=
{{launchpro-clipboard://x-callback-url/convert?
format=urlencode&
x-success=drafts%3A%2F%2F}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment