You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'? ': Key indicator.': ': Value indicator.'- ': Nested series entry indicator.', ': Separate in-line branch entries.'[]': Surround in-line series branch.'{}': Surround in-line keyed branch.
Scalar indicators:
'''': Surround in-line unescaped scalar ('' escaped ').'"': Surround in-line escaped scalar (see escape codes below).'|': Block scalar indicator.'>': Folded scalar indicator.'-': Strip chomp modifier ('|-' or '>-').'+': Keep chomp modifier ('|+' or '>+').1-9 : Explicit indentation modifier ('|1' or '>2').# Modifiers can be combined ('|2-', '>+1').
Alias indicators:
'&': Anchor property.'*': Alias indicator.
Tag property: # Usually unspecified.
none : Unspecified tag (automatically resolved by application).'!': Non-specific tag (by default, "!!map"/"!!seq"/"!!str").'!foo': Primary (by convention, means a local "!foo" tag).'!!foo': Secondary (by convention, means "tag:yaml.org,2002:foo").'!h!foo': Requires "%TAG !h! <prefix>" (and then means "<prefix>foo").'!<foo>': Verbatim tag (always means "foo").
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
YAML also supports variables, or repeated nodes. The simplest explanation is that you define something as a variable by preceding it with "&NAME value" and you can refer to it with "*NAME" e.g.: