Skip to content

Paragraph ​

php
final class KMark\Block\Paragraph implements BlockRule

Lines of text up to a blank line or to a block that interrupts them. A line of "=" or of "-" under the text makes it a heading (the underlined style of the original Markdown), and "{#id .class}" at the end of the text gives its attributes.

Source: src/Block/Paragraph.php

Constants ​

NameValueDescription
TIGHT""In a tight list the text is written without <p>: this mark in front of it tells so to the list.

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.