Skip to content

Commit 409ff99

Browse files
committed
Update documentation in the README about the plugin
1 parent eefd999 commit 409ff99

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ yarn add --dev prettier @prettier/plugin-xml
3939
The `prettier` executable is now installed and ready for use:
4040

4141
```bash
42-
./node_modules/.bin/prettier --write '**/*.xml'
42+
./node_modules/.bin/prettier --plugin=@prettier/plugin-xml --write '**/*.xml'
4343
```
4444

4545
## Configuration
@@ -69,7 +69,7 @@ file](https://prettier.io/docs/en/configuration.html). For example:
6969
Or, they can be passed to `prettier` as arguments:
7070

7171
```bash
72-
prettier --tab-width 4 --write '**/*.xml'
72+
prettier --plugin=@prettier/plugin-xml --tab-width 4 --write '**/*.xml'
7373
```
7474

7575
### Whitespace

0 commit comments

Comments
 (0)