mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-27 09:15:50 +03:00
[yaml/zh-cn]: revert spaces
This commit is contained in:
parent
8534586df7
commit
2cad7e537a
@ -84,14 +84,14 @@ a_nested_map:
|
|||||||
that has multiple lines
|
that has multiple lines
|
||||||
: and this is its value
|
: and this is its value
|
||||||
|
|
||||||
# YAML也允许使用复合键语法表示序列间的映射关系。
|
# YAML 也允许使用复杂键语法表示序列间的映射关系。
|
||||||
# 但有些解析器可能会不支持。
|
# 但有些解析器可能会不支持。
|
||||||
# 一个例子:
|
# 一个例子:
|
||||||
? - Manchester United
|
? - Manchester United
|
||||||
- Real Madrid
|
- Real Madrid
|
||||||
: [ 2001-01-01, 2002-02-02 ]
|
: [ 2001-01-01, 2002-02-02 ]
|
||||||
|
|
||||||
# 序列 (sequences,等价于列表list或数组array) 看起来像这样
|
# 序列 (sequences,等价于列表 list 或数组 array ) 看起来像这样:
|
||||||
# 注意 '-' 代表缩进:
|
# 注意 '-' 代表缩进:
|
||||||
a_sequence:
|
a_sequence:
|
||||||
- Item 1
|
- Item 1
|
||||||
@ -185,4 +185,3 @@ set2:
|
|||||||
|
|
||||||
+ [YAML official website](http://yaml.org/)
|
+ [YAML official website](http://yaml.org/)
|
||||||
+ [Online YAML Validator](http://codebeautify.org/yaml-validator)
|
+ [Online YAML Validator](http://codebeautify.org/yaml-validator)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user