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

Feature request: Preserve quotes in YAML frontmatter #114

Open
asmaier opened this issue Jan 19, 2024 · 0 comments
Open

Feature request: Preserve quotes in YAML frontmatter #114

asmaier opened this issue Jan 19, 2024 · 0 comments

Comments

@asmaier
Copy link

asmaier commented Jan 19, 2024

At the moment frontmatter will change the quotes around string values in a YAML frontmatter to single quotes even if the string value itself did not change at all. It would be nice if frontmatter would offer a option preserve_quotes like ruamel.yaml

https://stackoverflow.com/questions/42094599/preserving-quotes-in-ruamel-yaml

Such an option would prevent unnecessary changes to a file updated with frontmatter and would make the git history of such files more clean.

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

No branches or pull requests

1 participant