diff --git a/draft-marchan-kdl2.md b/draft-marchan-kdl2.md index b24506f..24ab97a 100644 --- a/draft-marchan-kdl2.md +++ b/draft-marchan-kdl2.md @@ -530,7 +530,9 @@ single-line "\r\n\nfoo" For clarity: this normalization applies to each individual Newline sequence. That is, the literal sequence `CRLF CRLF` becomes `LF LF`, not `LF`. -### Example +### Examples + +#### Indented multi-line string ~~~kdl multi-line """ @@ -551,7 +553,7 @@ This is the base indentation which is equivalent to `" foo\nThis is the base indentation\n bar"` when written as a single-line string. ---------- +#### Shorter last-line indent If the last line wasn't indented as far, it won't dedent the rest of the lines as much: @@ -574,7 +576,7 @@ This example's string value will be: Equivalent to `" foo\n This is no longer on the left edge\n bar"`. ------------ +#### Empty lines Empty lines can contain any whitespace, or none at all, and will be reflected as empty in the value: @@ -596,7 +598,7 @@ A second indented paragraph. Equivalent to `"Indented a bit.\n\nA second indented paragraph."` ------------ +#### Syntax errors The following yield **syntax errors**: