quotes

Control the quotes of strings.

Possible values:

  • "alwaysDouble": Always use double quotes. Double quotes in strings will be escaped.
  • "alwaysSingle": Always use single quotes. Single quotes in strings will be escaped.
  • "preferDouble": Use double quotes as possible. However if there're double quotes in strings, quotes will be kept as-is.
  • "preferSingle": Use single quotes as possible. However if there're single quotes in strings, quotes will be kept as-is.

Default value is "alwaysDouble".

Example for "alwaysDouble"

Playground

::before { content: ""; content: "\""; }

Example for "alwaysSingle"

Playground

::before { content: ''; content: '\''; }

Example for "preferDouble"

Playground

::before { content: ""; content: '"'; }

Example for "preferSingle"

Playground

::before { content: ''; content: "'"; }