gray-matter icon indicating copy to clipboard operation
gray-matter copied to clipboard

(Request) Any way to generate "square bracket" arrays rather than lists?

Open humblecoder opened this issue 2 years ago • 1 comments

It's quite possible I've missed something in the documentation, but when working with arrays, it would be nice to be able to control square bracket generation:

key1: [value1,value2,value3,value4,value5]

vs list generation:

key1:
  - value1
  - value2
  - value3
  - value4
  - value5

humblecoder avatar Jan 01 '23 20:01 humblecoder

What benefit do you perceive in this? Readability is no doubt better when the list is expanded.

webketje avatar Apr 25 '23 20:04 webketje