summaryrefslogtreecommitdiffhomepage
path: root/zh-cn/yaml-cn.html.markdown
diff options
context:
space:
mode:
authorDivay Prakash <divayprakash@users.noreply.github.com>2020-02-02 15:13:28 +0530
committerGitHub <noreply@github.com>2020-02-02 15:13:28 +0530
commit8eb11a89a7fc84dde15544c6f7ec99a8f44b0c9f (patch)
tree7605022884b652f7acf879328887a9d191d3ef58 /zh-cn/yaml-cn.html.markdown
parentab5a1953e77288ca27bd7b4c931d8bb2e79a9966 (diff)
parentf80889ed47ae42ca4ea2b8118e2b3c48c37eeb9c (diff)
Merge branch 'master' into master
Diffstat (limited to 'zh-cn/yaml-cn.html.markdown')
-rw-r--r--zh-cn/yaml-cn.html.markdown6
1 files changed, 4 insertions, 2 deletions
diff --git a/zh-cn/yaml-cn.html.markdown b/zh-cn/yaml-cn.html.markdown
index 3ba2afd8..e75fafba 100644
--- a/zh-cn/yaml-cn.html.markdown
+++ b/zh-cn/yaml-cn.html.markdown
@@ -16,6 +16,8 @@ YAML 根本不容许文字制表符。
```yaml
+--- # 文档开头
+
# YAML 中的注解看起来像这样。
################
@@ -135,7 +137,7 @@ bar: &bar
# foo 和 bar 将都含有 name: Everyone has same name
-# YAML 还有标签,你可以用它显示地声明类型。
+# YAML 还有标签,你可以用它显式地声明类型。
explicit_string: !!str 0.5
# 一些解析器实现特定语言的标签,就像这个针对 Python 的复数类型。
python_complex_number: !!python/complex 1+2j
@@ -176,7 +178,7 @@ set2:
item2: null
item3: null
-... # document end
+... # 文档结束
```
### 更多资源