Appearance
Links
php
final readonly class KMark\Inline\LinksLinks and images, written inline ([text](url "title")) or with a reference ([text][label], [label]).
A link, once made, is put aside in the stash with its text already read, so that nothing reads it again.
Source: src/Inline/Links.php
Methods
__construct()
php
public function __construct(SafeUrls $safeUrls, References $references, Emphasis $emphasis)render()
php
public function render(string $text, Stash $stash): string