Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

newLineKind

The newline character(s) to use in formatted output.

Type"auto" | "lf" | "crlf"
Default"auto" (from global config)

Values

"auto" (default)

Detect the newline style from the input file and preserve it. Uses \n for new files.

"lf"

Force Unix-style line endings (\n). Typical for Linux/macOS environments and most version-controlled SVG files.

"crlf"

Force Windows-style line endings (\r\n).

Config

{
  "svg": {
    "newLineKind": "lf"
  }
}