Skip to content

BlockRule ​

php
interface KMark\Block\BlockRule

A 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): string

Reads 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.

Documentation of 2.0.0 , built from f573e5f on 2.0.0 by pipeline #37507527063 on 2026-10-06.