owenthereal / jqplay

A playground for jq, written in Go
https://jqplay.org
MIT License
743 stars 88 forks source link

Split examples into separate code tags #105

Closed danielcompton closed 10 months ago

danielcompton commented 3 years ago

I was looking at the example docs and saw examples like .foo, .foo.bar, .foo?. That was all in one code block so I thought together it was a valid jq expression. After trying it and getting an error I realised that each example was comma separated.

Screenshot of Safari (11-11-20, 9-24-54 AM)

What do you think about changing the examples to something like:

.foo .foo.bar .foo?

I think that would make it clearer.