Trait cebe\markdown\block\QuoteTrait

Implemented bycebe\markdown\GithubMarkdown, cebe\markdown\Markdown, cebe\markdown\MarkdownExtra, cebe\markdown\latex\GithubMarkdown, cebe\markdown\latex\Markdown

Adds the block quote elements

Protected Methods

Hide inherited methods

MethodDescriptionDefined 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

consumeQuote() protected method

Consume lines for a blockquote element

protected void consumeQuote ( $lines, $current )
$lines
$current
identifyQuote() protected method

Identify a line as the beginning of a block quote.

protected void identifyQuote ( $line )
$line
parseBlocks() protected abstract method

protected abstract void parseBlocks ( $lines )
$lines
renderAbsy() protected abstract method

protected abstract void renderAbsy ( $absy )
$absy
renderQuote() protected method

Renders a blockquote

protected void renderQuote ( $block )
$block