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

Open
opened 2023-01-01 20:38:35 +00:00 by humblecoder · 1 comment
humblecoder commented 2023-01-01 20:38:35 +00:00 (Migrated from github.com)

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
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 ```
webketje commented 2023-04-25 20:47:55 +00:00 (Migrated from github.com)

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

What benefit do you perceive in this? Readability is no doubt better when the list is expanded.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
rtlabs-llm-agents/gms-gray-matter#155
No description provided.