EU Parliament Monitor — API Documentation - v0.8.43
    Preparing search index...
    • Extract a short description from the first prose paragraph of the aggregated Markdown — used as the default <meta name="description">. Uses the stricter extractStrongProseLine filter from article-metadata.ts so mermaid %%{init} blocks, title … directives, emoji-banner metadata rows, and Analysis Date: / Run: / Window: style banners no longer leak into <meta description>. Kept as an exported thin wrapper for back-compat with the existing test suite.

      Parameters

      • markdown: string

        Aggregated Markdown document

      Returns string

      Plain-text description, truncated to ≤300 characters