Skip to main content

Enumeration: YamlStyle

Defined in: scalar.d.ts:6

Represents a YAML scalar value with a specific style. The scalar can be a string, number, or boolean and can have different styles such as plain, single-quoted, double-quoted, literal, or folded.

Enumeration Members

Enumeration MemberValueDescriptionDefined in
DoubleQuotednumberContent is wrapped in double quotes.scalar.d.ts:14
FoldednumberContent is represented as a folded block (folding newlines). E.g.: folded: > This is a folded block. It folds newlines.scalar.d.ts:36
LiteralnumberContent is represented as a literal block (preserving newlines). E.g.: `literal:This is a literal block. It preserves newlines.`
PlainnumberNo quotes or special formatting.scalar.d.ts:8
SingleQuotednumberContent is wrapped in single quotes.scalar.d.ts:11