EU Parliament Monitor — API Documentation - v0.9.25
    Preparing search index...
    • Walk the brief body line-by-line and return the first ### … heading + its first prose paragraph that occur inside the matched ## … block. Returns null when the matched block does not contain a ### … sub-heading.

      Parameters

      • markdown: string

        Brief body (SPDX preamble already stripped)

      • sectionNeedles: readonly string[]

        Lower-case ## … whitelist

      • lang: LanguageCode = 'en'

        Locale (drives boilerplate stem patterns)

      Returns { subHeading: string; paragraph: string } | null

      First {subHeading, paragraph} pair under the matched section, or null when no sub-heading exists