This page is outdated
You are reading documentation for Linkify v2. Browse the latest v3+ documentation.
Jump To
Linkify @Mention Plugin
Adds basic support for Twitter- and GitHub- style “at”-mentions.
See the Plugins page for installation instructions.
var options = {/* … */};
var str = "Linkify needs @you and @someone else";
linkify.find(str);
Returns the following array
[
{
type: 'mention',
value: "@you",
href: "/you"
},
{
type: 'mention',
value: "@someone",
href: "/someone"
}
]