Instead of
key:
- thisvalue
- thatvalue
- anothervalue
I would like to have
key:
1. thisvalue
2. thatvalue
3. anothervalue
purely for human readability, with the same interpretation of {key: [thisvalue, thatvalue, anothervalue]}
.
This doesn't seem to be part of the basic YAML syntax, but is there a way to achieve this - perhaps using some of the advanced arcanery that's possible in YAML?
(I realize that this can be approximated by writing the list as:
key:
- 1. thisvalue
- 2. thatvalue
- 3. anothervalue
but this is an ugly hack and I'd prefer a solution where the numbers had semantic purpose, rather than being just part of the value's text, that also requires being parsed and removed.)