I can express
3rd page is the title page
in YAML
title: 3
What about the following?
Pages 10 to 15 contains chapter 1
One way is
chapter 1: [10, 11, 12, 13, 14, 15]
I would prefer a range here. Is there anything like that in YAML?
chapter 1: (10..15)
** Update **
The following would be my alternative if there is no such thing as range in YAML
chapter 1:
start page: 10
end page: 15
chapter 1: [10,15]
? Then create a function in Ruby that converts the list to a range? – Kindlykey: [3,6,8-15,18-25]
. It's really inconvenient to list all the numbers. – Innerve