3 <?php if (isset($exception)) : ?>
4 <?=\mdref\ExceptionHandler::html($exception, ["h2"], ["p"], ["pre", "style='overflow-x:scroll'"]); ?>
6 <?php if (isset($listing) && count($listing)) : ?>
7 <h2>Available References</h2>
8 <?php foreach ($listing as $entry) : ?>
9 <h3><a href="<?=$entry->formatUrl()?>"><?=$entry->formatLink()?></a></h3>
10 <?php $entry->recurse($refs, "/*.md", function($entry, $pattern, callable $recursor) { ?>
12 <li><p><a href="<?=$entry->formatUrl()?>"><?=$entry->formatLink()?></a></p>
13 <?=$entry->readDescription()?>
14 <?php $recursor($entry, "/[A-Z]*.md") ?>