Trait cebe\markdown\block\RuleTrait
Implemented by | cebe\markdown\GithubMarkdown, cebe\markdown\Markdown, cebe\markdown\MarkdownExtra, cebe\markdown\latex\GithubMarkdown, cebe\markdown\latex\Markdown |
---|
Adds horizontal rules
Protected Methods
Method | Description | Defined By |
---|---|---|
consumeHr() | Consume a horizontal rule | cebe\markdown\block\RuleTrait |
identifyHr() | Identify a line as a horizontal rule. | cebe\markdown\block\RuleTrait |
renderHr() | Renders a horizontal rule | cebe\markdown\block\RuleTrait |
Method Details
Consume a horizontal rule
protected void consumeHr ( $lines, $current ) | ||
$lines | ||
$current |
Identify a line as a horizontal rule.
protected void identifyHr ( $line ) | ||
$line |
Renders a horizontal rule
protected void renderHr ( $block ) | ||
$block |