issue_tree
    Preparing search index...

    Function extractLinks

    • Extract every typed link from a body of issue/comment text.

      Strict grammar: the keyword must be an exact taxonomy spelling (case-insensitive only); one space before the reference; no extra whitespace. A malformed owner/#n reference (owner present, repo absent) is silently skipped.

      Parameters

      • body: string

        raw issue or comment body text

      Returns ExtractedLink[]

      the links found, in document order

      extractLinks('blocked-by acme/lib#5')
      // => [{ kind: 'blocked-by', direction: 'outbound',
      // ref: { owner: 'acme', repo: 'lib', number: 5 } }]