Skip to content

YAML note properties support#100

Merged
saberzero1 merged 9 commits intomainfrom
frontmatter-yaml
Jan 9, 2026
Merged

YAML note properties support#100
saberzero1 merged 9 commits intomainfrom
frontmatter-yaml

Conversation

@saberzero1
Copy link
Owner

No description provided.

Copy link

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 pull request adds configurable frontmatter output format support to Quartz Syncer, allowing users to choose between YAML and JSON formats for note frontmatter. YAML becomes the new default format as it's more readable and standard for static site generators, while JSON remains available for backward compatibility.

Key changes:

  • Added FrontmatterFormat type and frontmatterFormat setting to control output format
  • Implemented custom YAML serialization logic in FrontmatterCompiler
  • Created new settings UI dropdown for format selection

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
src/models/settings.ts Added FrontmatterFormat type definition and frontmatterFormat property to settings interface
src/views/SettingsView/Views/FrontmatterSettings.ts Added dropdown UI control for selecting frontmatter format (YAML/JSON)
src/compiler/FrontmatterCompiler.ts Implemented YAML serialization methods (toYaml and yamlValue) to convert frontmatter objects to YAML format
main.ts Added frontmatterFormat: "yaml" to default settings
scripts/generateSyncerSettings.mjs Added frontmatterFormat: "yaml" to test/development settings
docs/Changelog.md Updated changelog with version 1.9.1 release notes describing the new feature

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link

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

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


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link

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

Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link

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

Copilot reviewed 17 out of 18 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@saberzero1 saberzero1 merged commit 2d7a65a into main Jan 9, 2026
12 checks passed
@saberzero1 saberzero1 deleted the frontmatter-yaml branch January 9, 2026 10:34
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