Skip to content

No documentation for the simplest usage #57

@NannoSilver

Description

@NannoSilver

Hi,

This library is interesting and, according to this demo, it does exactly what I am looking for.

The library documentation shows how to add handler and other things, but does not show how to use for a very simple task, that is, convert link to somewhere.com into link to <a href="https://somewhere.com">somewhere.com</a>

I searched for examples across the internet, but could not find.

I tried the following code, but it does not works:

from linkify_it import LinkifyIt


linkify = LinkifyIt()

a = "link to somewhere.com"

result = linkify(a)

print(result)

Can you tell me how to do it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions