File tree 2 files changed +10
-2
lines changed
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.
13
13
It compiles and transforms CSS in ` <style> ` tags and inline styles using ` PostCSS ` .
14
14
If a ` <style lang=""> ` attribute exists, it compiles the content using the appropriate preprocessor before applying ` PostCSS ` .
15
15
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
+
16
24
## Installation
17
25
18
26
``` bash
@@ -45,7 +53,7 @@ gulp.task('process-html', () => {
45
53
## API
46
54
47
55
``` js
48
- htmlCss (plugins[( options, ext)] )
56
+ htmlCss (plugins, options, ext)
49
57
```
50
58
51
59
### plugins
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ gulp.task('process-html', () => {
52
52
## API
53
53
54
54
``` js
55
- htmlCss (plugins[( options, ext)] )
55
+ htmlCss (plugins, options, ext)
56
56
```
57
57
58
58
### plugins
You can’t perform that action at this time.
0 commit comments