5 <?php if (isset($html)) : ?>
7 <?php elseif (isset($text)) : ?>
9 <p style="white-space:pre-wrap"><?= $esc($text) ?></p>
10 <?php elseif (isset($refs)) : ?>
11 <?php foreach ($refs as $repo) : /* @var \mdref\Repo $repo */ ?>
12 <?php foreach ($repo as $entry) : /* @var \mdref\Entry $entry */ ?>
14 <h2 id="<?= $anchor($entry->getTitle()) ?>">
15 <a href="<?= $esc($entry->getName()) ?>"
16 ><?= $esc($entry->getTitle()) ?></a></h2>
17 <div><?= $quick($entry->getIntro()) ?></div>
18 <?php if ($repo->hasStub($stub)) : ?>
19 <?php include __DIR__ . "/stub.phtml"; ?>
25 <?= $markup(ob_get_clean()); ?>