3 ms·
> It takes the indented block as-is, which I feel like is going to be what you'd want … always? What if you are writing primarily paragraphs? What if you want
by TomSwirly 3y ago
> It takes the indented block as-is, which I feel like is going to be what you'd want … always?
What if you are writing primarily paragraphs?
What if you want extra blank lines at the end of a block? Or no carriage return at all?
In my reading, unscientifically I feel I see the `>` text formatter most often, then almost as often `|`, then `>-` occasionally, then `>+` just one time.
- deathanatos 3y agoThat's a big what-if, I guess. If you're okay with line wrapping … do line-wrapping & |, if you're not … don't do line wrapping & |? I'm not usually putting prose into YAML, outside of comments. I think most of my blocks are scripts, small data files, long queries, the like. That's sort of why I was looking for a (perhaps non-hypothetical) use case.