Allow YAML to have leading white space

0 votes
asked Feb 3, 2021 in Wanted features by Martin (6,780 points)
edited Feb 5, 2021 by Martin

I don't think YAML cares if the first line doesn't start at position 1.

It would make it easier to cut and paste snippets of YAML if you didn't have to worry about uniformly deleting leading whitespace from all the rows.

e.g. I believe the following is valid YAML:

@startyaml
    A: B
    C: D
    E: F
@endyaml

1 Answer

0 votes
answered Feb 5, 2021 by Martin (6,780 points)
This one is working now; thank you!
...