Skip to content

Improve front-matter rendering#106

Merged
cyanzhong merged 1 commit into
mainfrom
develop
May 15, 2026
Merged

Improve front-matter rendering#106
cyanzhong merged 1 commit into
mainfrom
develop

Conversation

@cyanzhong
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
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 improves how YAML front matter is rendered into HTML by moving from a column-based table layout to a row-based layout and adding richer formatting for nested structures, making front matter easier to read in the preview.

Changes:

  • Refactors front matter table rendering to output one row per key/value entry.
  • Adds richer value formatting for arrays (inline vs list), nested objects (nested tables), and Date values (ISO/date-only formatting).

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

Comment thread src/frontMatter.ts Outdated
Comment thread src/frontMatter.ts Outdated
Copy link
Copy Markdown
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

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

Comment thread src/frontMatter/parser.ts
@cyanzhong cyanzhong merged commit adcfb58 into main May 15, 2026
1 check passed
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