docs(api): name the newline a literal string may carry

Assisted-by: GLM 5.3 Flash
This commit is contained in:
2026-09-18 00:20:42 +02:00
parent 6a043e2824
commit 8aa2b1b9c0
+2 -2
View File
@@ -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