EU Parliament Monitor — API Documentation - v0.8.20
    Preparing search index...
    • Parse YAML frontmatter from a markdown file's content.

      Extracts method, confidence, and date fields from the --- delimited YAML block at the start of the file. Returns null when no valid frontmatter is found.

      Parameters

      • content: string

        Raw markdown content

      Returns ParsedFrontmatter | null

      Parsed frontmatter or null