EU Parliament Monitor — API Documentation - v0.9.24
    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. Consecutive non-blank lines are paragraph-joined (see extractStrongProseLine).

      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