Skip to content

YAML 基本语法 | MSTBL的博客 #13

@MSTBL

Description

@MSTBL

https://mstbl.github.io/yaml/

YAML 基本语法基本大小写敏感 用#注释 用a: b代表一对键值对 注意:冒号之后有一个空格 用空格代表层级,如: 123456a: b: c d: e f: g: h i: j 空格相同的就是同一层级 空格数不限,但是同一级空格数必须相同 理论上不允许用tab缩进 行内写法: 1a: {b: c,d: e} 不能有两个相同的key 值写法字符串不用加双引号、单引号

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions