Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 9 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save guillaumepiot/4539986 to your computer and use it in GitHub Desktop.
Save guillaumepiot/4539986 to your computer and use it in GitHub Desktop.
PYTHON - Convert URL in text to anchor tags (links)
@endofline
Copy link

note: running this on a string that already contains anchors will wrap the links inside the anchors again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment