gray-matter
gray-matter copied to clipboard
(Request) Any way to generate "square bracket" arrays rather than lists?
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
What benefit do you perceive in this? Readability is no doubt better when the list is expanded.