Skip to content

Support multiline block scalar strings #8

Description

Why

YAML supports multiline block scalars for representing long text values without embedding literal newline escapes, but the parser currently does not recognise them.

What

ConvertFrom-Yaml should parse literal (|) and folded (>) block scalars, such as:

description: |
  This is a multiline string.

Acceptance criteria

  • A literal block scalar (|) parses to a string preserving embedded newlines
  • A folded block scalar (>) parses to a string with line folding applied per the YAML spec

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions