Skip to content

Commit

Permalink
Merge pull request #849 from arp242/quoted-key
Browse files Browse the repository at this point in the history
  • Loading branch information
pradyunsg committed Sep 26, 2021
2 parents 3b11f69 + 087eaac commit 8296d6b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions toml.md
Expand Up @@ -128,12 +128,13 @@ to use bare keys except when absolutely necessary.
```

A bare key must be non-empty, but an empty quoted key is allowed (though
discouraged).
discouraged). You cannot use multi-line strings to define quoted keys.

```toml
= "no key name" # INVALID
"" = "blank" # VALID but discouraged
'' = 'blank' # VALID but discouraged
= "no key name" # INVALID
"""key""" = "not allowed" # INVALID
"" = "blank" # VALID but discouraged
'' = 'blank' # VALID but discouraged
```

**Dotted keys** are a sequence of bare or quoted keys joined with a dot. This
Expand Down

0 comments on commit 8296d6b

Please sign in to comment.