mirror of
https://github.com/snachodog/just-the-docs.git
synced 2025-04-07 04:31:21 -06:00
905 B
905 B
string-quotes
Specify single or double quotes around strings.
a[id="foo"] { content: "x"; }
/** ↑ ↑ ↑ ↑
* These quotes and these quotes */
Quotes within comments are ignored.
/* "This is fine" */
/* 'And this is also fine' */
Options
string
: "single"|"double"
"single"
Strings must always be wrapped with single quotes.
The following patterns are considered warnings:
a { content: "x"; }
a[id="foo"] {}
The following patterns are not considered warnings:
a { content: 'x'; }
a[id='foo'] {}
"double"
Strings must always be wrapped with double quotes.
The following patterns are considered warnings:
a { content: 'x'; }
a[id='foo'] {}
The following patterns are not considered warnings:
a { content: "x"; }
a[id="foo"] {}