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: Add an option to avoid adding quotes in field values #956

Closed
LaurentOngaro opened this issue Feb 25, 2025 · 2 comments
Closed

FEATURE: Add an option to avoid adding quotes in field values #956

LaurentOngaro opened this issue Feb 25, 2025 · 2 comments

Comments

@LaurentOngaro
Copy link

The plugin systematically adds quotes (") around the value of text fields in the YAML header, which can be problematic when using linter.

For tags, the result is either in the form tags: "tag1, tag2, tag3"

or in the form

tags:
- tag1
- tag2
- tag3

Neither option is valid when using the linter plugin

A "valid" result should be
tags: tag1, tag2, tag3

The problem can be the same for other fields such as "date" or "url" that do not necessarily require quotes (which is not the case of the "title" field for example)

Adding a setting to add yes or no quotes or offering a "text without quotes" field type would be a good solution.

@gijsk
Copy link
Contributor

gijsk commented Feb 26, 2025

I think this got filed in the wrong place? This isn't a plugin and it doesn't process or write yaml output.

@gijsk gijsk closed this as completed Feb 26, 2025
@LaurentOngaro
Copy link
Author

you're right my issue in not posted into the right repo !
Sorry for that !

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

2 participants