|
@ -1,11 +1,9 @@ |
|
|
# Linkify |
|
|
# Linkify |
|
|
|
|
|
|
|
|
Linkify is a basic package for turning website names, and phone numbers into links. |
|
|
|
|
|
|
|
|
Linkify is a basic package for turning website names into links. |
|
|
|
|
|
|
|
|
Use this package in your web view to convert web references into click-able links. |
|
|
Use this package in your web view to convert web references into click-able links. |
|
|
|
|
|
|
|
|
This is a very early version. Some of the described options are not yet functional. |
|
|
|
|
|
|
|
|
|
|
|
## Installation |
|
|
## Installation |
|
|
|
|
|
|
|
|
The package can be installed by adding `linkify` to your list of dependencies in `mix.exs`: |
|
|
The package can be installed by adding `linkify` to your list of dependencies in `mix.exs`: |
|
@ -37,13 +35,6 @@ iex> Linkify.link("google.com", new_window: true, rel: "noopener noreferrer") |
|
|
|
|
|
|
|
|
See the [Docs](https://hexdocs.pm/linkify/) for more examples |
|
|
See the [Docs](https://hexdocs.pm/linkify/) for more examples |
|
|
|
|
|
|
|
|
## Configuration |
|
|
|
|
|
|
|
|
|
|
|
By default, link parsing is enabled and phone parsing is disabled. |
|
|
|
|
|
|
|
|
|
|
|
```elixir |
|
|
|
|
|
# enable phone parsing, and disable link parsing |
|
|
|
|
|
config :linkify, opts: [phone: true, url: false] |
|
|
|
|
|
``` |
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
|
|
|