Trait cebe\markdown\block\QuoteTrait
Implemented by | cebe\markdown\GithubMarkdown, cebe\markdown\Markdown, cebe\markdown\MarkdownExtra, cebe\markdown\latex\GithubMarkdown, cebe\markdown\latex\Markdown |
---|
Adds the block quote elements
Protected Methods
Method | Description | Defined By |
---|---|---|
consumeQuote() | Consume lines for a blockquote element | cebe\markdown\block\QuoteTrait |
identifyQuote() | Identify a line as the beginning of a block quote. | cebe\markdown\block\QuoteTrait |
parseBlocks() | cebe\markdown\block\QuoteTrait | |
renderAbsy() | cebe\markdown\block\QuoteTrait | |
renderQuote() | Renders a blockquote | cebe\markdown\block\QuoteTrait |
Method Details
Consume lines for a blockquote element
protected void consumeQuote ( $lines, $current ) | ||
$lines | ||
$current |
Identify a line as the beginning of a block quote.
protected void identifyQuote ( $line ) | ||
$line |
protected abstract void parseBlocks ( $lines ) | ||
$lines |
protected abstract void renderAbsy ( $absy ) | ||
$absy |
Renders a blockquote
protected void renderQuote ( $block ) | ||
$block |