This page is outdated
You are reading documentation for Linkify v2. Browse the latest v3+ documentation.
Jump To
Linkify #Hashtag Plugin
Adds basic support for Twitter-style hashtags.
See the Plugins page for installation instructions.
var options = {/* … */};
var str = "Linkify is #super #rad2015";
linkify.find(str);
Returns the following array
[
{
type: 'hashtag',
value: "#super",
href: "#super"
},
{
type: 'hashtag',
value: "#rad2015",
href: "#rad2015"
}
]