Skip to content

Conversation

@flowmitry
Copy link
Owner

No description provided.

@flowmitry flowmitry requested a review from Copilot August 20, 2025 18:30
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR enhances front matter parsing to support unquoted strings and improves YAML output generation by conditionally quoting values only when necessary.

  • Adds fallback parsing for front matter that fails standard YAML parsing
  • Implements array/sequence support in YAML front matter processing
  • Introduces smart quoting logic to avoid unnecessary quotes in generated output

Reviewed Changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 3 comments.

File Description
internal/util/parser.go Adds fallback parsing for non-YAML front matter and array support
internal/generator/util.go Introduces quoteIfNeeded function for conditional string quoting
internal/generator/cursor.go Updates to use smart quoting instead of always quoting strings
internal/generator/copilot.go Updates to use smart quoting instead of always quoting strings

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

flowmitry and others added 3 commits August 20, 2025 11:32
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@flowmitry flowmitry merged commit bb1a353 into main Aug 20, 2025
1 check passed
@flowmitry flowmitry deleted the fix_quotes branch August 20, 2025 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants