![]() | Name | Last modified | Size | Description |
---|---|---|---|---|
![]() | Parent Directory | - | ||
![]() | dist/ | 2 years ago | - | |
![]() | node_modules/ | 2 years ago | - | |
![]() | LICENSE-MIT | 40 years ago | 1.1K | |
![]() | README.md | 40 years ago | 1.0K | d768d73 docs [كارل مبارك] |
![]() | package.json | 2 years ago | 1.9K | 3e510ca test new git [كارل مبارك] |
Normalize strings with PostCSS.
With npm do:
npm install postcss-normalize-string --save
p:after{ content: '\\'string\\' is intact' }
p:after{ content:"'string' is intact" }
See the PostCSS documentation for examples for your environment.
Type: string
Default: double
Sets what type of quote to prefer. Possible values are single
and double
.
var css = 'p:after{content:""}';
console.log(postcss(normalize({preferredQuote: 'single'})).process(css).css);
//=> p:after{content:''}
See CONTRIBUTORS.md.
MIT © Ben Briggs