name: Folded Scalar. Replaces with a spacecommand: > put commands here, that may go off screen.name: Multiline Scalar. Use where is signifact.command: | command one -a arg_1 command two -a arg_1Anchors and aliases in YAML provide a convenient way to reuse data and avoid duplication within a YAML document. They are particularly useful for defining default configurations and inheriting values across multiple sections of the document.
defaults: &defaults username: guest password: guest admin: <<: *defaults password: secretcolors: [red, green, blue]person: {name: John Doe, age: 30}Aka. a list of lists
matrix: - [1, 2, 3] - [4, 5, 6] - [7, 8, 9]