Skip to content

Commit 2cdacff

Browse files
committed
docs(htmlCss): Update README
1 parent 85bb4a8 commit 2cdacff

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

plugins/html-css/README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,14 @@ A Gulp plugin for processing CSS within HTML.
1313
It compiles and transforms CSS in `<style>` tags and inline styles using `PostCSS`.
1414
If 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

plugins/html-css/README.zh_CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)