amfora
amfora copied to clipboard
Create links in plaintext
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.
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