protected function parseWikilink($markdown)
    {
        if (preg_match('/^\[\[(.+?)\]\]/', $markdown, $matches)) {
            return [
                [
                    'wikilink',
                    $this->parseInline($matches[1])
                ],
                strlen($matches[0])
            ];
        }
        return [['text', $markdown[0] . $markdown[1]], 2];
    }
protected function parseWikilink($markdown)
    {
        if (preg_match('/^\[\[(.+?)\]\]/', $markdown, $matches)) {
            return [
                [
                    'wikilink',
                    $this->parseInline($matches[1])
                ],
                strlen($matches[0])
            ];
        }
        return [['text', $markdown[0] . $markdown[1]], 2];
    }
protected function parseWikilink ( $ markdown ) { if ( preg_match ( '/^\[\[(.+?)\]\]/' , $ markdown , $ matches ) ) { return [ [ 'wikilink' , $ this -> parseInline ( $ matches [ 1 ] ) ] , strlen ( $ matches [ 0 ] ) ] ; } return [ [ 'text' , $ markdown [ 0 ] . $ markdown [ 1 ] ] , 2 ] ; }
Parses the wikilink feature.
@marker [[
Parses the wikilink feature .