Skip to content

Commit bfacfeb

Browse files
author
Nick Frasser
committed
v4.0.2
1 parent 4d98670 commit bfacfeb

File tree

12 files changed

+48
-15
lines changed

12 files changed

+48
-15
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Linkify Changelog
22

3+
## v4.0.2
4+
5+
* Fix email address detection with domains containing numbers
6+
37
## v4.0.1
48

59
* Restore nl2br option for linkify-html

packages/linkify-element/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
linkify-element
22
===
33

4-
[Linkify](https://linkify.js.org/) DOM Element Interface. Use `linkify-element` to replace links within native HTML elements with anchor tags.
4+
[![npm version](https://badge.fury.io/js/linkify-element.svg)](https://www.npmjs.com/package/linkify-element)
5+
6+
[Linkify](https://linkify.js.org/) DOM Element Interface. Use `linkify-element` to detect URLs, email addresses and more within native HTML elements and replace them with anchor tags.
57

68
Note that `linkify-element` is included with `linkify-jquery`, so you do not have to install it if you are using `linkify-jquery`.
79

packages/linkify-html/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
linkify-html
22
===
33

4-
[Linkify](https://linkify.js.org/) HTML String Interface. Use `linkify-html` to highlight links within strings that contain HTML markup.
4+
[![npm version](https://badge.fury.io/js/linkify-html.svg)](https://www.npmjs.com/package/linkify-html)
5+
6+
[Linkify](https://linkify.js.org/) HTML String Interface. Use `linkify-html` to detect URLs, email addresses and more in strings that contain HTML markup and replace them with anchor `<a>` tags.
57

68
## Installation
79

packages/linkify-jquery/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
linkify-jquery
22
===
33

4-
[Linkify](https://linkify.js.org/) jQuery plugin. Also available in vanilla JavaScript via `linkify-element`.
4+
[![npm version](https://badge.fury.io/js/linkify-jquery.svg)](https://www.npmjs.com/package/linkify-jquery)
5+
6+
[Linkify](https://linkify.js.org/) jQuery plugin. Also available in vanilla JavaScript via `linkify-element`. Use it to detect URLs, email addresses and more and wrap them with anchor `<a>` tags.
57

68
## Installation
79

packages/linkify-plugin-hashtag/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
linkify-plugin-hashtag
22
===
33

4-
Detect Twitter-style #hashtags with [Linkify](https://linkify.js.org/).
4+
[![npm version](https://badge.fury.io/js/linkify-plugin-hashtag.svg)](https://www.npmjs.com/package/linkify-plugin-hashtag)
5+
6+
Detect and convert Twitter-style #hashtags to `<a>` anchor tags with [Linkify](https://linkify.js.org/).
57

68
## Installation
79

packages/linkify-plugin-ip/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
linkify-plugin-ip
22
===
33

4-
Detect IPv4 and IPv6 addresses with [Linkify](https://linkify.js.org/).
4+
[![npm version](https://badge.fury.io/js/linkify-plugin-ip.svg)](https://www.npmjs.com/package/linkify-plugin-ip)
5+
6+
Detect and convert IPv4 and IPv6 addresses to `<a>` anchor tags with [Linkify](https://linkify.js.org/).
57

68
## Installation
79

packages/linkify-plugin-keyword/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
linkify-plugin-keyword
22
===
33

4-
Detect arbitrary keywords with [Linkify](https://linkify.js.org/).
4+
[![npm version](https://badge.fury.io/js/linkify-plugin-keyword.svg)](https://www.npmjs.com/package/linkify-plugin-keyword)
5+
6+
Detect and convert arbitrary keywords to `<a>` anchor tags with [Linkify](https://linkify.js.org/).
57

68
## Installation
79

packages/linkify-plugin-mention/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
linkify-plugin-mention
22
===
33

4-
Detect Twitter- and GitHub- style "at"-mentions (@mentions) with [Linkify](https://linkify.js.org/).
4+
[![npm version](https://badge.fury.io/js/linkify-plugin-mention.svg)](https://www.npmjs.com/package/linkify-plugin-mention)
5+
6+
Detect and convert Twitter- and GitHub- style "at"-mentions (@mentions) to `<a>` anchor tags with [Linkify](https://linkify.js.org/).
57

68
## Installation
79

packages/linkify-plugin-ticket/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
linkify-plugin-ticket
22
===
33

4-
Detect GitHub-style tickets/issues with [Linkify](https://linkify.js.org/).
4+
[![npm version](https://badge.fury.io/js/linkify-plugin-ticket.svg)](https://www.npmjs.com/package/linkify-plugin-ticket)
5+
6+
Detect and convert GitHub-style issue or ticket numbers (e.g., `#123`) to `<a>` anchor tags with [Linkify](https://linkify.js.org/).
57

68
## Installation
79

packages/linkify-react/README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
linkify-react
22
===
33

4-
[Linkify](https://linkify.js.org/) React component. Walks through its children and replaces strings containing URLs with strings and &lt;a&gt; elements.
4+
[![npm version](https://badge.fury.io/js/linkify-react.svg)](https://www.npmjs.com/package/linkify-react)
5+
6+
[Linkify](https://linkify.js.org/) React component. Use it to find URLs, email addresses and more in child strings and replace them with strings and &lt;a&gt; elements.
57

68
## Installation
79

@@ -23,6 +25,14 @@ import Linkify from 'linkify-react';
2325

2426
## Usage
2527

28+
```jsx
29+
const contents = 'helloworld.com';
30+
31+
<Linkify options={...}>
32+
{contents}
33+
</Linkify>
34+
```
35+
2636
[Read the full documentation](https://linkify.js.org/docs/linkify-react.html).
2737

2838
## License

0 commit comments

Comments
 (0)