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

quoteStyle

Quote style for attribute values

Type"preserve" | "double" | "single"
Default"preserve"

Values

Input

<rect id='box' class="hero" />

"preserve"

Keep the original quote character.

<rect id='box' class="hero" />

"double"

Normalize to double quotes.

<rect id="box" class="hero" />

"single"

Normalize to single quotes.

<rect id='box' class='hero' />

Config

{
  "svg": {
    "quoteStyle": "preserve"
  }
}