src/Ciconia/Extension/Gfm/TableExtension.php
public function register(Markdown $markdown)
    {
        $this->markdown = $markdown;
        $this->hash = '{gfm:table:escape(' . md5('|') . ')}';

        if ($this->getRenderer() instanceof HtmlRenderer) {
            // Output format depends on HTML for now
            $markdown->on('block', array($this, 'processTable'));
        }
    }
public function register(Markdown $markdown)
    {
        $this->markdown = $markdown;
        $this->hash = '{gfm:table:escape(' . md5('|') . ')}';

        if ($this->getRenderer() instanceof HtmlRenderer) {
            // Output format depends on HTML for now
            $markdown->on('block', array($this, 'processTable'));
        }
    }
public function register ( Markdown $ markdown ) { $ this -> markdown = $ markdown ; $ this -> hash = '{gfm:table:escape(' . md5 ( '|' ) . ')}' ; if ( $ this -> getRenderer ( ) instanceof HtmlRenderer ) { // Output format depends on HTML for now $ markdown -> on ( 'block' , array ( $ this , 'processTable' ) ) ; } }
{@inheritdoc}
{