Skip to main content

YAML Style

There are two types of styles in which we can write the YAML code:

There is also the Sequence style that is used in collections.

warning

Sequence Style is a collections-specific style in which the block style or flow style is alternately used.

It should not be considered as a third type of style in which you can write YAML code!