Skip to content

[Good First Issue] Support markdown frontmatter in local files #2

Description

@mverab

When optimizing local markdown files with /geo:optimize, preserve frontmatter (YAML/TOML) instead of treating it as content.

Example:

Input:

---
title: My Page
description: My description
---

# Content here

Expected: Frontmatter preserved, only "Content here" optimized.

What's needed:

  1. Detect frontmatter in markdown files
  2. Parse and preserve it separately
  3. Only optimize the content body
  4. Reassemble with original frontmatter

Resources:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions