Skip to content

FencedCode ​

php
final class KMark\Block\FencedCode implements BlockRule

Code between two lines of three backticks or more (or three tildes or more). The word after the opening fence is the language, written as a class "language-php", and "{#id .class}" after it are the attributes.

Source: src/Block/FencedCode.php

Methods ​

match() ​

php
public function match(Lines $lines, BlockContext $blockContext): string

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