Linkify 2.1 released! ×

Adds basic support for Github style @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"
  }
]