Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9da0a9b

Browse files
committed
Reword README
1 parent 4d890e5 commit 9da0a9b

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,19 @@
22

33
Format Vue SFC.
44

5-
This plugin only parses root-level blocks, extract their content, and format
6-
them through `dprint` according to the `lang` attribute or a default:
5+
This plugin format root-level blocks through `dprint`, meaning you will need to
6+
install plugins for the languages contained in your Vue SFCs.
7+
8+
## Language detection
9+
10+
Unless a `lang` attribute is present:
711

812
| Block | Default |
913
| ---------- | ------- |
1014
| `script` | `js` |
1115
| `template` | `html` |
1216
| `style` | `css` |
1317

14-
This means you also need to install plugins for languages contained in your Vue
15-
SFC, such as [`dprint-plugin-typescript`] for JavaScript / TypeScript.
16-
17-
[`dprint-plugin-typescript`]: https://github.com/dprint/dprint-plugin-typescript
18-
1918
## Usage
2019

2120
[Install](https://dprint.dev/install) and [setup](https://dprint.dev/setup)

0 commit comments

Comments
 (0)