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

    Module Generators/PoliticalIntelligence/Markdown

    Pure parsing utilities for analysis Markdown files. Lifted out of political-intelligence.ts so the parsing logic (emoji-stripping, H1 extraction, stem humanization) can be unit-tested in isolation and reused by future renderers (e.g. sitemap entries, RSS descriptions, news-indexes meta-builders).

    No I/O imports other than fs/path for the single file-reading helper parseMarkdownMeta; everything else is pure string manipulation.

    Functions

    stripLeadingEmoji
    extractH1Title
    humanize
    parseMarkdownMeta