File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,14 @@ A Gulp plugin for processing CSS within HTML.
1313It compiles and transforms CSS in ` <style> ` tags and inline styles using ` PostCSS ` .
1414If a ` <style lang=""> ` attribute exists, it compiles the content using the appropriate preprocessor before applying ` PostCSS ` .
1515
16+ ## Features
17+
18+ - Handle CSS within ` <style/> ` tag
19+ - Handle inline styles
20+ - Support for CSS preprocessor in the ` <style lang=""/> ` (Sass、Less、Stylus)
21+ - Using ` PostCSS ` to transform CSS
22+ - Supports merge ` postcss.config.js `
23+
1624## Installation
1725
1826``` bash
@@ -45,7 +53,7 @@ gulp.task('process-html', () => {
4553## API
4654
4755``` js
48- htmlCss (plugins[( options, ext)] )
56+ htmlCss (plugins, options, ext)
4957```
5058
5159### plugins
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ gulp.task('process-html', () => {
5252## API
5353
5454``` js
55- htmlCss (plugins[( options, ext)] )
55+ htmlCss (plugins, options, ext)
5656```
5757
5858### plugins
You can’t perform that action at this time.
0 commit comments