Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(cli): keep comments in YAML frontmatter #21

Merged
merged 1 commit into from
Apr 22, 2024

Conversation

aloisklink
Copy link
Contributor

Switch the YAML library from js-yaml to yaml.

This allows us to keep YAML comments in the frontmatter, instead of automatically deleting them.

Copy link

vercel bot commented Apr 10, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
office-plugin-site ⬜️ Ignored (Inspect) Visit Preview Apr 22, 2024 5:36am

Base automatically changed from feat/add-mermaid-chart-cli to main April 16, 2024 08:45
Switch the YAML library from [`js-yaml`][1] to [`yaml`][2].

This allows us to keep YAML comments in the frontmatter.

[1]: https://www.npmjs.com/package/js-yaml
[2]: https://www.npmjs.com/package/yaml
@aloisklink aloisklink force-pushed the fix/keep-comments-in-yaml branch from f2e6fa2 to c0af0f6 Compare April 22, 2024 05:36
@aloisklink aloisklink merged commit ecd9e46 into main Apr 22, 2024
6 checks passed
@aloisklink aloisklink deleted the fix/keep-comments-in-yaml branch April 22, 2024 05:43
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