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
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-Yamlshould parse literal (|) and folded (>) block scalars, such as:Acceptance criteria
|) parses to a string preserving embedded newlines>) parses to a string with line folding applied per the YAML spec