We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54d7ec4 commit ed3a7f8Copy full SHA for ed3a7f8
README.md
@@ -242,16 +242,13 @@ new CssToHtml({
242
243
#### Formatting
244
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:
+Before giving you html, it is formatted by the [prettier](https://github.com/prettier/prettier-synchronized) library.
+You can either enable or disable formatting:
247
248
```js
249
new CssToHtml({
250
- …
251
- formatterOptions: {
252
- indent_size: 2,
253
- },
254
-})
+ format: true, // default value
+});
255
```
256
257
### If you find a bug, please create an issue [here](https://github.com/Ulyanov-programmer/css2html/issues).
0 commit comments