PHP Trait cebe\markdown\block\TableTrait

Show file Open project: cebe/markdown

Protected Methods

Method Description
consumeTable ( $lines, $current ) Consume lines for a table
identifyTable ( $line, $lines, $current ) identify a line as the beginning of a table block.
parseInline ( $text )
parseTd ( $markdown )
renderAbsy ( $absy )
renderTable ( $block ) render a table block

Method Details

consumeTable() protected method

Consume lines for a table
protected consumeTable ( $lines, $current )

identifyTable() protected method

identify a line as the beginning of a table block.
protected identifyTable ( $line, $lines, $current )

parseInline() abstract protected method

abstract protected parseInline ( $text )

parseTd() protected method

protected parseTd ( $markdown )

renderAbsy() abstract protected method

abstract protected renderAbsy ( $absy )

renderTable() protected method

render a table block
protected renderTable ( $block )