This page is outdated

You are reading documentation for Linkify v2. Browse the latest v3+ documentation.

Jump To

Linkify #-Ticket Plugin

Adds basic support for GitHub-style tickets/issues.

See the Plugins page for installation instructions.

var options = {/* … */};
var str = "Check out issues #42 and #101 for further reference";

linkify.find(str);

Returns the following array

[
  {
    type: 'ticket',
    value: "#42",
    href: "#42"
  },
  {
    type: 'ticket',
    value: "#101",
    href: "#101"
  }
]