mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-05 06:17:36 +02:00
@@ -14,6 +14,8 @@ significant newlines and indentation, like Python. Unlike Python, however,
|
|||||||
YAML doesn't allow literal tab characters for indentation.
|
YAML doesn't allow literal tab characters for indentation.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
--- # document start
|
||||||
|
|
||||||
# Comments in YAML look like this.
|
# Comments in YAML look like this.
|
||||||
|
|
||||||
################
|
################
|
||||||
@@ -170,9 +172,11 @@ set2:
|
|||||||
item1: null
|
item1: null
|
||||||
item2: null
|
item2: null
|
||||||
item3: null
|
item3: null
|
||||||
|
|
||||||
|
... # document end
|
||||||
```
|
```
|
||||||
|
|
||||||
### More Resources
|
### More Resources
|
||||||
|
|
||||||
+ [YAML official website](http://yaml.org/)
|
+ [YAML official website](http://yaml.org/)
|
||||||
+ [Online YAML Validator](http://codebeautify.org/yaml-validator)
|
+ [Online YAML Validator](http://www.yamllint.com/)
|
||||||
|
Reference in New Issue
Block a user