mirror of https://github.com/kdl-org/kdl.git
Replace horizontal rules with subsections.
RFCXML v3 doesn't include horizontal rules.
This commit is contained in:
parent
826d60ec4a
commit
7a77c4ee81
|
|
@ -530,7 +530,9 @@ single-line "\r\n\nfoo"
|
||||||
For clarity: this normalization applies to each individual Newline sequence.
|
For clarity: this normalization applies to each individual Newline sequence.
|
||||||
That is, the literal sequence `CRLF CRLF` becomes `LF LF`, not `LF`.
|
That is, the literal sequence `CRLF CRLF` becomes `LF LF`, not `LF`.
|
||||||
|
|
||||||
### Example
|
### Examples
|
||||||
|
|
||||||
|
#### Indented multi-line string
|
||||||
|
|
||||||
~~~kdl
|
~~~kdl
|
||||||
multi-line """
|
multi-line """
|
||||||
|
|
@ -551,7 +553,7 @@ This is the base indentation
|
||||||
which is equivalent to `" foo\nThis is the base indentation\n bar"`
|
which is equivalent to `" foo\nThis is the base indentation\n bar"`
|
||||||
when written as a single-line string.
|
when written as a single-line string.
|
||||||
|
|
||||||
---------
|
#### Shorter last-line indent
|
||||||
|
|
||||||
If the last line wasn't indented as far,
|
If the last line wasn't indented as far,
|
||||||
it won't dedent the rest of the lines as much:
|
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"`.
|
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:
|
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."`
|
Equivalent to `"Indented a bit.\n\nA second indented paragraph."`
|
||||||
|
|
||||||
-----------
|
#### Syntax errors
|
||||||
|
|
||||||
The following yield **syntax errors**:
|
The following yield **syntax errors**:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue