Skip to content

Commit

Permalink
Replace horizontal rules with subsections.
Browse files Browse the repository at this point in the history
RFCXML v3 doesn't include horizontal rules.
  • Loading branch information
jyasskin committed Jan 6, 2025
1 parent 45c00c7 commit 90e0515
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions draft-marchan-kdl2.md
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,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 """
Expand All @@ -546,7 +548,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:
Expand All @@ -569,7 +571,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:

Expand All @@ -591,7 +593,7 @@ A second indented paragraph.
Equivalent to `"Indented a bit.\n\nA second indented paragraph."`

-----------
#### Syntax errors

The following yield **syntax errors**:

Expand Down

0 comments on commit 90e0515

Please sign in to comment.