summaryrefslogtreecommitdiffhomepage
path: root/yaml.html.markdown
diff options
context:
space:
mode:
authorSpurlow <Spurlow@users.noreply.github.com>2015-11-27 11:49:26 +0700
committerSpurlow <Spurlow@users.noreply.github.com>2015-11-27 11:49:26 +0700
commit52e2e819c31e28e98e328a4de9c13f5904c68dd6 (patch)
tree9c0edde44488b88859abea7807c934914e0d0d85 /yaml.html.markdown
parentd4b71bf6b2f5aa39f6ad108255fcbd76ce92441c (diff)
parent8670035d19f1b0002344f0e17d2e09ce19223e7f (diff)
Merge pull request #1966 from lesaff/patch-2
Add a note regarding string value of "1"
Diffstat (limited to 'yaml.html.markdown')
-rw-r--r--yaml.html.markdown2
1 files changed, 2 insertions, 0 deletions
diff --git a/yaml.html.markdown b/yaml.html.markdown
index 62f08fb9..507c4d1f 100644
--- a/yaml.html.markdown
+++ b/yaml.html.markdown
@@ -25,6 +25,8 @@ YAML doesn't allow literal tab characters at all.
key: value
another_key: Another value goes here.
a_number_value: 100
+# If you want to use number 1 as a value, you have to enclose it in quotes,
+# otherwise, YAML parser will assume that it is a boolean value of true.
scientific_notation: 1e+12
boolean: true
null_value: null