YAML tips

11.18

介绍

YAML 显式声明 kye/value

? 后面为 key,: 后面为 value

? dependencies
: gulp: ^3.9.1
  gulp-clean: ^0.4.0
  gulp-zip: ^4.2.0

多行数组

参考

key:
  - string1
  - string2      
  - string3
  - string4
  - string5
  - string6
key: ['string1', 'string2', 'string3', 
  'string4', 'string5', 
  'string6']
-
  name: Jack
  age: 32
-
  name: Claudia
  age: 25
📖