Appearance
InlineParser
php
final readonly class KMark\Inline\InlineParserTurns the text of a block into HTML: code spans, links, images, emphasis, line breaks, bare URLs.
The pieces that must not be read again are put aside in a stash as soon as they are made, and written back at the end.
Source: src/Inline/InlineParser.php
Methods
__construct()
php
public function __construct(Options $options = new Options(), References $references = new References())render()
php
public function render(string $text): string