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

Use literal block format for example validation #336

Merged
merged 1 commit into from
Mar 28, 2025

Conversation

tstirrat15
Copy link
Contributor

Description

A user on discord pointed out that the example file doesn't work as written. This is because we were using a folding block scalar instead of a literal, which meant that it was turning newlines into spaces and causing the relation parsing to fail. We need to preserve newlines, which the literal does.

Changes

  • Use literal block scalar

Testing

Review. Copy out this block and run zed validate against it and see that it succeeds.

Copy link

vercel bot commented Mar 28, 2025

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

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 28, 2025 5:00pm

@tstirrat15 tstirrat15 merged commit cff27d4 into main Mar 28, 2025
9 checks passed
@tstirrat15 tstirrat15 deleted the fix-validation-file-example branch March 28, 2025 17:12
@github-actions github-actions bot locked and limited conversation to collaborators Mar 28, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants