Skip to content

Handle YAML frontmatter in Markdown preview #43

Closed

Description

@PaulRBerg

I add custom YAML frontmatter to my plan files (using a hook). The frontmatter looks bad on Plannotator UI:

Image

Activity

  1. added 3 commits that reference this issue on Jan 9, 2026
    d35363a
    82dec06
    9e9d6c3
  2. backnotprop commented on Jan 9, 2026

    @backnotprop
    Owner

    Hey @PaulRBerg! Thanks for reporting this.

    We've implemented a fix that renders YAML frontmatter as a styled metadata card at the top of the plan, rather than showing it as raw text.

    What it looks like now:

    • Frontmatter is parsed and displayed in a clean card with a muted background
    • String values show as key-value pairs
    • Arrays (like tags) render as colored pill badges

    This will go out in the next release. If you'd prefer a different approach (e.g., hiding frontmatter entirely, different styling, etc.), let us know and we can adjust before the release ships!

    Fixed in #45

  3. added a commit that references this issue on Jan 9, 2026
    0926837
  4. backnotprop commented on Jan 9, 2026

    @backnotprop
    Owner

    Published in release v0.4.15

  5. ruaridhw commented on Jul 21, 2026

    @ruaridhw
    Contributor

    Extended this behaviour here for multi-line values in the YAML front-matter #1101

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions