Welcome to CASSIS Autolink’s documentation!¶
Indices and tables¶
Add HTML links to URLs in text¶
The auto_link() function automatically adds HTML links to URLs that appear in text.
For example, given the following text:
text = "This is a link to https://indieweb.org"
This library would return:
'This is a link to <a class="auto-link" href="https://indieweb.org">https://indieweb.org</a>'