summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDivay Prakash <divayprakash@users.noreply.github.com>2019-05-11 01:40:50 +0530
committerGitHub <noreply@github.com>2019-05-11 01:40:50 +0530
commitd356c338e81e1e1d0d8f318c1fe71969d8afb71c (patch)
tree9da4bf1aad13f4e059243829dfc91b833c071b62
parentf4d8bd26173174098751e6f1054e2e16223af383 (diff)
parent220005db0c34107410080fd63e669a38375cc1b5 (diff)
Merge pull request #3521 from aanaedu/patch-1
[toml/en] update toml doc and fix typos
-rwxr-xr-xtoml.html.markdown14
1 files changed, 7 insertions, 7 deletions
diff --git a/toml.html.markdown b/toml.html.markdown
index 814e57e7..385a2437 100755
--- a/toml.html.markdown
+++ b/toml.html.markdown
@@ -32,7 +32,7 @@ boolean = true
dateTime = 1979-05-27T07:32:00-08:00
scientificNotation = 1e+12
"key can be quoted" = true # Both " and ' are fine
-"key may contains" = "letters, numbers, underscores, and dashes"
+"key may contain" = "letters, numbers, underscores, and dashes"
# A bare key must be non-empty, but an empty quoted key is allowed
"" = "blank" # VALID but discouraged
@@ -225,26 +225,26 @@ color = "gray"
# sub-table will belong to the nearest table element above it.
[[fruit]]
- name = "apple"
+ name = "apple" # I am a property in fruit table/map
- [fruit.Geometry]
+ [fruit.geometry]
shape = "round"
- note = "I am an fruit's property"
+ note = "I am a property in geometry table/map"
[[fruit.color]]
name = "red"
- note = "I am an array's item in apple"
+ note = "I am an array item in apple fruit's table/map"
[[fruit.color]]
name = "green"
- note = "I am in the same array than red"
+ note = "I am in the same array as red"
[[fruit]]
name = "banana"
[[fruit.color]]
name = "yellow"
- note = "I am an array's item too but banana's one"
+ note = "I am an array item in banana fruit's table/map"
```
In JSON land, this code will be: