EU Parliament Monitor — API Documentation - v0.9.2
    Preparing search index...
    • Walk the body of an editorial artefact and, when it contains a ## … heading whose text matches one of EDITORIAL_LEDE_HEADINGS, return the first prose paragraph that follows that heading. This is the journalist's lede ("60-Second Read", "TL;DR", "BLUF — …", …) and is exactly the sentence that should power <meta description> and the OG/Twitter description fields.

      Returns the empty string when no lede heading is found or no qualifying prose follows it. Inline Markdown is stripped and the result is truncated to fit <meta description>.

      Parameters

      • markdown: string

        Editorial artefact source

      Returns string

      Lede paragraph, or empty string when none matched