Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • 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