EU Parliament Monitor — API Documentation - v0.8.49
    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