On Wed, Jun 21, 2017, at 12:24 PM, Tyler Smith wrote:
>
> whereas the new-style key-value links would be:
>
> javascript:location.href='org-protocol://sub-protocol?url='+
> encodeURIComponent(location.href)+'&title='+
> encodeURIComponent(document.title)+'&selection='+
> encodeURIComponent(window.getSelection())
>
Aha! The new-style links are documented in the function docs. E.g., for
`org-protocol-capture`:
javascript:location.href = 'org-protocol://capture?url='+
encodeURIComponent(location.href) + '&title='
encodeURIComponent(document.title) + '&body=' +
encodeURIComponent(window.getSelection())
It would be very helpful to have that visible in the new documentation.
Thanks,
Tyler