Skip to content

Commit ed3a7f8

Browse files
Updated README.
1 parent 54d7ec4 commit ed3a7f8

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

README.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -242,16 +242,13 @@ new CssToHtml({
242242

243243
#### Formatting
244244

245-
Before giving you html, it is formatted by the [js-beatify](https://github.com/beautifier/js-beautify) library.
246-
If you want to change the formatting settings, pass them as a parameter:
245+
Before giving you html, it is formatted by the [prettier](https://github.com/prettier/prettier-synchronized) library.
246+
You can either enable or disable formatting:
247247

248248
```js
249249
new CssToHtml({
250-
251-
formatterOptions: {
252-
indent_size: 2,
253-
},
254-
})
250+
format: true, // default value
251+
});
255252
```
256253

257254
### If you find a bug, please create an issue [here](https://github.com/Ulyanov-programmer/css2html/issues).

0 commit comments

Comments
 (0)