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

attributeLayout

Attribute wrapping mode

Type"auto" | "single-line" | "multi-line"
Default"auto"

Values

Input

<linearGradient id="sky" x1="0%" y1="0%"></linearGradient>

"auto"

Wrap only when inline width exceeds maxInlineTagWidth.

<linearGradient id="sky" x1="0%" y1="0%"></linearGradient>

"single-line"

Always keep all attributes on one line.

<linearGradient id="sky" x1="0%" y1="0%"></linearGradient>

"multi-line"

Always wrap attributes onto separate lines.

<linearGradient id="sky"
                x1="0%" y1="0%">
</linearGradient>

Config

{
  "svg": {
    "attributeLayout": "auto"
  }
}