Open
Description
Inspired by the discussion about mentions #119 — that all could be applied to hashtags as well. Updating more features at once in a backwards incompatible way makes sense, rather than having many of them in a row.
E.g.:
Autolinker.link( text, {
hashtag: {
service: 'custom', // twitter (default), facebook, instagram, tumblr, google
regex: '[A-Z][a-zA-Z0-9]{2, 13}',
prefix: '#',
template: 'http://my.website.com/{hashtag}' //
}
} );