EU Parliament Monitor — API Documentation - v0.9.24
    Preparing search index...
    • Extract <a href="…">label</a> link tokens from the slice of HTML between two indices. Used to harvest the methodology / template list the Markdown renderer emitted as <ul><li><a>…</a></li>…</ul> so we can re-render it as a card grid.

      Anchors whose href does not point at an analysis/<methodologies| templates>/<…>.md blob URL are silently skipped — the tradecraft appendix only contains those, and any stray external link (e.g. the Hack23 URL inside the intro paragraph) must not be promoted to a card.

      Parameters

      • html: string

        HTML slice to scan

      • expectedPrefix: string

        Path prefix (e.g. analysis/methodologies/)

      Returns ExtractedLink[]

      List of extracted { href, repoRelPath } tuples