Skip to content

Commit a6ea77f

Browse files
authored
docs: update github syntax of warning (#267)
1 parent 95b53cb commit a6ea77f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ Possible options:
238238
- `CssMinimizerPlugin.lightningCssMinify` (previously`CssMinimizerPlugin.parcelCssMinify`, the package was renamed, but we keep it for backward compatibility)
239239
- `async (data, inputMap, minimizerOptions) => {return {code: "a{color: red}", map: "...", warnings: [], errors: []}}`
240240

241-
> **Warning**
241+
> [!WARNING]
242242
>
243243
> **Always use `require` inside `minify` function when `parallel` option enabled**.
244244
@@ -362,7 +362,7 @@ Default: `{ from: assetName }`
362362
Allows filtering options [`processoptions`](https://postcss.org/api/#processoptions) for the cssnano.
363363
The `parser`,` stringifier` and `syntax` can be either a function or a string indicating the module that will be imported.
364364

365-
> **Warning**
365+
> [!WARNING]
366366
>
367367
> **If a function is passed, the `parallel` option must be disabled.**.
368368
@@ -411,7 +411,7 @@ Default: `() => true`
411411
Allow filtering css-minimizer warnings (By default [cssnano](https://github.com/cssnano/cssnano)).
412412
Return `true` to keep the warning, a falsy value (`false`/`null`/`undefined`) otherwise.
413413

414-
> **Warning**
414+
> [!WARNING]
415415
>
416416
> The `source` argument will contain `undefined` if you don't use source maps.
417417

0 commit comments

Comments
 (0)