| Revision 117,
340 bytes
checked in by xi, 7 years ago
(diff) |
|
Loose indentation rules for the following cases:
- In the flow context, indentation level is not checked.
- For quoted scalars, indentation level is not checked.
- Flow scalars are not required to have at least 1 space indentation. Zero indentation is acceptable.
|
| Line | |
|---|
| 1 | --- |
|---|
| 2 | in the block context: |
|---|
| 3 | indentation should be kept: { |
|---|
| 4 | but in the flow context: [ |
|---|
| 5 | it may be violated] |
|---|
| 6 | } |
|---|
| 7 | --- |
|---|
| 8 | the parser does not require scalars |
|---|
| 9 | to be indented with at least one space |
|---|
| 10 | ... |
|---|
| 11 | --- |
|---|
| 12 | "the parser does not require scalars |
|---|
| 13 | to be indented with at least one space" |
|---|
| 14 | --- |
|---|
| 15 | foo: |
|---|
| 16 | bar: 'quoted scalars |
|---|
| 17 | may not adhere indentation' |
|---|
Note: See
TracBrowser
for help on using the repository browser.