Steve Howell [mailto:showell@...] wrote:
> Okay, since it's your use case, I won't argue any more.
I'm glad it worked out in the end :-)
> Let's document it better.
Seems so. Clark has written:
> New lines inside paragraphs are of folded.
> New lines between paragraphs follow the N-1 rule
> All other new lines are significant
That's exactly what's in the spec today. In fact, if you follow the
productions, you'll see they directly reflect this. So, in the interest of
- We should change the name "folded_text_line" to "folded_paragraph" and
"folded_text" to "folded_text_line".
- We should re-word of section 4.6.6. Anyone wants to take a stab at it?
I think this would resolve the issue.
> I like the technique of showing the same data in both representations.
> Showing things in YAML goes a lot further than describing them in English.
Yes. We should probably use this in other places as well.
> The spec might also talk about the use case a little more.
> Clearly, YAML's folding format will be optimized for the
> one-newline-between-paragraphs internal format.
> That's reasonable.
> > I've already conceded that carriage returns surrounding indented
> > blocks should be significant; which is IMHO, a great idea...
> Examples of that would be good too.
There's one such example in the spec already (the final example in section