EU Parliament Monitor — API Documentation - v0.9.24
    Preparing search index...
    • Walk every line of the Markdown source and return the first paragraph that survives shouldSkipDescriptionLine. Consecutive non-blank prose lines are joined with a single space so hard-wrapped ledes (column-95 conventional wrap) produce a clean 140-180-character description rather than just the first 60-90-char line.

      Inline Markdown decorations are stripped and the result is truncated to fit <meta description>.

      Parameters

      • markdown: string

        Markdown source

      Returns string

      Prose description, or empty string when nothing qualifies