Skip to content

More flexible hashtags #130

Open
Open
@simison

Description

@simison

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}' // 
    }
} );

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions