Trait cebe\markdown\block\TableTrait
Implemented by | cebe\markdown\GithubMarkdown, cebe\markdown\MarkdownExtra, cebe\markdown\latex\GithubMarkdown |
---|
Adds the table blocks
Protected Methods
Method | Description | Defined By |
---|---|---|
consumeTable() | Consume lines for a table | cebe\markdown\block\TableTrait |
identifyTable() | Identify a line as the beginning of a table block. | cebe\markdown\block\TableTrait |
parseInline() | cebe\markdown\block\TableTrait | |
parseTd() | cebe\markdown\block\TableTrait | |
renderAbsy() | cebe\markdown\block\TableTrait | |
renderTable() | Render a table block | cebe\markdown\block\TableTrait |
Method Details
Consume lines for a table
protected void consumeTable ( $lines, $current ) | ||
$lines | ||
$current |
Identify a line as the beginning of a table block.
protected void identifyTable ( $line, $lines, $current ) | ||
$line | ||
$lines | ||
$current |
protected abstract void parseInline ( $text ) | ||
$text |
protected void parseTd ( $markdown ) | ||
$markdown |
protected abstract void renderAbsy ( $absy ) | ||
$absy |
Render a table block
protected void renderTable ( $block ) | ||
$block |