Skip to content

Commit bbe0e6d

Browse files
committed
Fix README
1 parent 85a67ed commit bbe0e6d

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

README.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
}
3737
```
3838

39-
## Usage
39+
## Usage ##
4040

4141
```js
4242
import postcssExtractValue from 'postcss-extract-value';
@@ -47,41 +47,41 @@ postcss([
4747
])
4848
```
4949

50-
## Options
50+
## Options ##
5151

52-
### filterByProps
52+
#### filterByProps ####
5353

5454
Type: `array`<br>
5555
Required: `false`<br>
5656
Default: `[]`
5757

5858
You can add names of css properties and only from this properties will be extracted values.
5959

60-
### onlyColor
60+
#### onlyColor ####
6161

6262
Type: `boolean`<br>
6363
Required: `false`<br>
6464
Default: `false`
6565

6666
If you set true, only colors (hex, rgb, hsl, color keywords) will be extracted from values.
6767

68-
### scope
68+
#### scope ####
6969

7070
Type: `string`<br>
7171
Required: `false`<br>
7272
Default: `:root`
7373

7474
You can set custom selector, which will contain variables.
7575

76-
### variableSyntax
76+
#### variableSyntax ####
7777

7878
Type: `string`<br>
7979
Required: `false`<br>
8080
Default: ``
8181

8282
By default it will be used css variables syntax, other available variants **less** and **sass**.
8383

84-
### templateVariableName
84+
#### templateVariableName ####
8585

8686
Type: `string`<br>
8787
Required: `false`<br>
@@ -91,11 +91,11 @@ You can set template for variables using special words.
9191
See more information below.
9292

9393

94-
## Usage templateVariableName
94+
## Usage templateVariableName ##
9595

96-
**With options _filterByProps_ or without any options by default:**
96+
### With options _filterByProps_ or without any options by default: ###
9797

98-
### [propertyName]
98+
#### [propertyName] ####
9999
Name of css property (width, border, etc.).
100100

101101
```js
@@ -120,12 +120,12 @@ postcss([
120120
}
121121
```
122122

123-
**With options _onlyColor_:**
123+
### With options _onlyColor_: ###
124124

125-
### [colorKeyword]
125+
#### [colorKeyword] ####
126126
Color keyword of the nearest color.
127127

128-
### [tint]
128+
#### [tint] ####
129129
Deviation in the dark or light side from the nearest color. (light\dark)
130130

131131
```js
@@ -156,9 +156,9 @@ Deviation in the dark or light side from the nearest color. (light\dark)
156156
}
157157
```
158158

159-
**Others**
160-
161-
### [selectorName]
159+
### Others ###
160+
161+
#### [selectorName] ####
162162
Name of css selector (className, id, etc.)
163163

164164
```js

0 commit comments

Comments
 (0)