-
-
Notifications
You must be signed in to change notification settings - Fork 92
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
support prettier yaml with newlines #372
Comments
My workaround is to call |
As a user in the same place as you @xxchan:
|
I would be happy to see multi line strings in the generated YAML. Would absolutely accept a patch. Unfortunately we use |
Turns out |
Considering that yaml_rust is unmaintained since 3 years, would it be worth a consideration again to switch to serde_yaml? |
I'm considering bumping all of this up with 2.0 and also move to |
Turns out |
Instead of
I want to have
P.S. My actual use case is that my data looks like this:
And I'm trying to replace the tests with insta, but without pretty newlines it's not usable :(
P.P.S, I noticed you switched from serde_yaml to rust-yaml for serialization #264 (due to it's breaking changes?), but
serde-yaml
0.9 also makes the formatting prettier dtolnay/serde-yaml#226, so that's a little unfortunate :(The text was updated successfully, but these errors were encountered: