docs: Mention map keys which start with a number

Fixes #6857.
This commit is contained in:
James Nugent 2016-06-22 12:02:55 +03:00
parent 82a7ad8ed2
commit 0885aeef93
1 changed files with 2 additions and 0 deletions

View File

@ -75,6 +75,8 @@ Basic bullet point reference:
* Maps can be made with the `{}` syntax:
`{ "foo": "bar", "bar": "baz" }`.
Quotes may be omitted on keys, unless the key starts with a number,
in which case quotes are required.
In addition to the basics, the syntax supports hierarchies of sections,
such as the "resource" and "variable" in the example above. These