EU Parliament Monitor — API Documentation - v0.9.24
    Preparing search index...

    Localized brief body suitable for HTML rendering.

    Unlike resolveLocalizedBriefHighlight — which extracts a few short SEO/metadata fields (headline, summary) for <meta> tags and JSON-LD — this helper returns the full body of the translated executive brief, with the SPDX preamble stripped, so the caller can render it through renderMarkdown and splice the resulting HTML into the per-language article variant.

    Used by the article-generator HTML pipeline (render-one.ts) to upgrade non-English variants from the English aggregated body to a truly localized one whenever a translated executive-brief_<lang>.md exists in the run directory.

    interface LocalizedBriefBody {
        markdown: string;
        sourceFile: string;
    }
    Index

    Properties

    Properties

    markdown: string

    Markdown body of the localized brief (post-SPDX strip).

    sourceFile: string

    Run-relative path of the file that produced markdown.