i icon indicating copy to clipboard operation
i copied to clipboard

Hypothes.is Markdown Shortcut

Open extratone opened this issue 3 years ago • 1 comments
trafficstars

Updated 10032022-075601


Social


Copy markdown-formatted Hypothes.is annotation share URL content to the system clipboard.

Requirements

This shortcut uses Hypothes.is' Fetch API call to retrieve specific data from a single public annotation's share URL. This allows for the requests to be made unauthenticated.

By default, results are arranged in the markdown format shown below and copied to the system clipboard.

I have left it configured precisely as I use it with my own annotations, including actions from both the Actions app and Text Case.

Format

{quote}
{annotation}
- *[{title}]({contextURL})*

Example

> You can link to a particular row by clicking the row number, or select multiple rows by holding down the shift key. Just copy the URL and send it to a friend.
> 

BRO...

I am semi-legitimately angry I am just now finding out about this.

[Here's an example](http://insert-your-link-here.com) that actually works!

`https://gist.github.com/extratone/36c6ceeb48ab2eefd77256afa80a54c3#file-extratext-csv-L329`
- *[Working with non-code files](https://hyp.is/dSnCBCQFEe2q_U-mmJbO_g/docs.github.com/en/repositories/working-with-files/using-files/working-with-non-code-files)*

extratone avatar Oct 03 '22 12:10 extratone

Video Demo

https://user-images.githubusercontent.com/43663476/193578101-05f9a4bb-5aaa-4a6d-b404-a6d7881b1725.MOV

extratone avatar Oct 03 '22 12:10 extratone