Skip to content

Enable frontMatter support for light build#1381

Merged
cyanzhong merged 1 commit intomainfrom
develop
Apr 19, 2026
Merged

Enable frontMatter support for light build#1381
cyanzhong merged 1 commit intomainfrom
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

Enables YAML front matter parsing support in the “@light” (read-only preview) CoreEditor build so documents with --- ... --- front matter are handled correctly.

Changes:

  • Add @codemirror/lang-yaml front matter extension to the light build entrypoint.
  • Wrap the existing Markdown language support with yamlFrontmatter({ content: ... }).

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

@cyanzhong cyanzhong merged commit 4624107 into main Apr 19, 2026
5 checks 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