Trait cebe\markdown\block\HeadlineTrait

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

Adds the headline blocks

Method Details

consumeHeadline() protected method

Consume lines for a headline

protected void consumeHeadline ( $lines, $current )
$lines
$current
identifyHeadline() protected method

Identify a line as a headline

protected void identifyHeadline ( $line, $lines, $current )
$line
$lines
$current
parseInline() protected abstract method

protected abstract void parseInline ( $text )
$text
renderAbsy() protected abstract method

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

Renders a headline

protected void renderHeadline ( $block )
$block