urls2links

finds https* urls in the specifed docs and makes a href tags around them

You can either pipe text to this script OR call it with the path to a file. It will read in the text, find any urls starting with http or https and wrap them with a tags that link to the url.

Example:

❯ echo "foo https://example.com bar" | urls2links
foo <a href='https://example.com'>https://example.com</a> bar

Usage

USAGE: linkify <path> OR pipe text into it

Metadata:

Tags:

  • html