amfora icon indicating copy to clipboard operation
amfora copied to clipboard

Create links in plaintext

Open makew0rld opened this issue 5 years ago • 1 comments

They should at least be accessible using Tab, aka link selection mode, but it would be nice to have links numbers for the URLs too, maybe in the left margin.

The links can be detected and made selectable using a regex. The regex should run after the page is rendered initially.

makew0rld avatar Jul 26 '20 16:07 makew0rld

Useful regex links

  • https://mathiasbynens.be/demo/url-regex
  • https://stackoverflow.com/questions/161738/what-is-the-best-regular-expression-to-check-if-a-string-is-a-valid-url
  • https://stackoverflow.com/questions/3809401/what-is-a-good-regular-expression-to-match-a-url
  • https://github.com/garycourt/uri-js

makew0rld avatar Jul 26 '20 18:07 makew0rld