Appearance
BlockRule
php
interface KMark\Block\BlockRuleA kind of block: a heading, a code block, a quote, a list, a table, a rule, a paragraph.
Source: src/Block/BlockRule.php
Methods
match()
php
public function match(Lines $lines, BlockContext $blockContext): stringReads the block that starts at the current line and gives its HTML, or null when the line starts no such block, in which case nothing has been read.