protected function inlineIssueLink($excerpt)
    {
        if (preg_match('/([\p{L}\p{N}_-]*)\/?([\p{L}\p{N}_-]*)#(\d+)/ui', $excerpt['context'], $matches, PREG_OFFSET_CAPTURE)) {
            if (!empty($matches[1][0])) {
                $project = $matches[1][0] . '/' . $matches[2][0];
            } else {
                $project = $this->projectName;
            }
            $url = sprintf('%s/%s/issues/%s', $this->GitHub, $project, $matches[3][0]);

            $inline = array(
                'extent' => strlen($matches[0][0]),
                'position' => $matches[0][1],
                'element' => array(
                    'name' => 'a',
                    'text' => '#' . $matches[3][0],
                    'attributes' => array(
                        'href' => $url,
                    ),
                ),
            );
            
            return $inline;
        }
    }