Skip to content

ListMarker ​

php
final readonly class KMark\Block\ListMarker

The start of a list item: "-", "*" or "+" for a bullet, "1." or "1)" for a number. What follows the marker is the first line of the item, and the lines that go on with it are indented as far as this text.

Source: src/Block/ListMarker.php

Methods ​

read() ​

php
public static function read(string $line): self

sameList() ​

php
public function sameList(self $other): bool

The same kind of list: the same bullet, or the same kind of number.

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