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

Consider YAML syntax highlighting in metadata comments #200

Open
anderseknert opened this issue Jun 21, 2024 · 0 comments
Open

Consider YAML syntax highlighting in metadata comments #200

anderseknert opened this issue Jun 21, 2024 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@anderseknert
Copy link
Member

While they are comments, they're also interpreted as YAML, and all issues around editing YAML — like adding an extra whitespace somewhere, and have that change the semantics of parsing — still apply. I wonder if it would help to have metadata blocks recognized (and highlighted) as YAML. It would help make them stand out from regular comments, but would also mean that VS Code could do YAML-specific checks on them.

I'm not sure about this, as there's also a risk of metadata appearing to be too prominent in policies. But a POC to test this would be helpful for making an informed decision.

@anderseknert anderseknert added enhancement New feature or request help wanted Extra attention is needed labels Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant