EU Parliament Monitor — API Documentation - v1.0.9
    Preparing search index...
    • Extract the first # H1 heading from a list of lines.

      Parameters

      • lines: string[]

        Markdown source split on newlines

      • fallback: string

        Value returned when no H1 is found

      Returns string

      Extracted heading text or the fallback