docs(api): name the newline a literal string may carry
Assisted-by: GLM 5.3 Flash
This commit is contained in:
+2
-2
@@ -369,8 +369,8 @@ out, err := interpres.NewEncoder().UseLiteralMultiline(80).Marshal(cfg)
|
|||||||
Single-line strings keep the basic form regardless of the threshold, and a
|
Single-line strings keep the basic form regardless of the threshold, and a
|
||||||
threshold of `0` or less disables the option. A string the literal form cannot
|
threshold of `0` or less disables the option. A string the literal form cannot
|
||||||
carry verbatim (an embedded run of three single quotes, a control character
|
carry verbatim (an embedded run of three single quotes, a control character
|
||||||
other than tab, or a carriage return outside a CRLF pair) also keeps the basic
|
other than tab or newline, or a carriage return outside a CRLF pair) also keeps
|
||||||
form, so the output always re-parses to the same value.
|
the basic form, so the output always re-parses to the same value.
|
||||||
|
|
||||||
### Cancellation
|
### Cancellation
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user