You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I want to have a list of mappings, each one on it's own line.
the library puts long ones on multiple lines and there appears to be no way to control this.
It's pretty ugly, but setting this value will get you the results you're looking for:
import{YAMLMap}from'yaml'Object.getPrototypeOf(YAMLMap).maxFlowStringSingleLineLength=2000// or any other large number
As no-one before now has asked for this, I'm going to hold off on making this more ergonomic until there's a bit more interest. In other words, if this is functionality that you'd use if it was more easily available, please add a comment on this issue.
Describe the bug
I want to have a list of mappings, each one on it's own line.
the library puts long ones on multiple lines and there appears to be no way to control this.
To Reproduce
observe output:
Expected behaviour
i don't expect this to be the default but there should be a way to do it
Versions
The text was updated successfully, but these errors were encountered: