gregjacobs / Autolinker.js

Utility to Automatically Link URLs, Email Addresses, Phone Numbers, Twitter handles, and Hashtags in a given block of text/HTML
MIT License
1.48k stars 238 forks source link

Should it autolink Twitter hashtags too? #78

Closed alexanderdickson closed 9 years ago

alexanderdickson commented 9 years ago

It may make sense as it's picking up @usernames.

calabroa commented 9 years ago

+1

Samir-GIIK commented 9 years ago

Added the feature in my fork and made a pull request, hopefully it will get accepted and added to this repo

gregjacobs commented 9 years ago

Added (finally) in v0.17.0. (Thanks @SamKO91) Example:

Autolinker.link( "#myHashTag", { hashtag: 'twitter' } );