Skip to content

Commit

Permalink
Add JSON syntax highlighting to README.md (#1070)
Browse files Browse the repository at this point in the history
  • Loading branch information
coliff authored Oct 21, 2024
1 parent 518b271 commit 901cdf0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/vscode-tailwindcss/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ An alternative to VS Code's built-in CSS language mode which maintains full CSS

Use the `files.associations` setting to tell VS Code to always open `.css` files in Tailwind CSS mode:

```
```json
"files.associations": {
"*.css": "tailwindcss"
}
Expand All @@ -48,7 +48,7 @@ Use the `files.associations` setting to tell VS Code to always open `.css` files

By default VS Code will not trigger completions when editing "string" content, for example within JSX attribute values. Updating the `editor.quickSuggestions` setting may improve your experience:

```
```json
"editor.quickSuggestions": {
"strings": "on"
}
Expand Down Expand Up @@ -168,13 +168,13 @@ By default the extension will automatically use the first `tailwind.config.{js,c

If your project contains a single Tailwind config file you can specify a string value:

```
```json
"tailwindCSS.experimental.configFile": ".config/tailwind.config.js"
```

For projects with multiple config files use an object where each key is a config file path and each value is a glob pattern (or array of glob patterns) representing the set of files that the config file applies to:

```
```json
"tailwindCSS.experimental.configFile": {
"themes/simple/tailwind.config.js": "themes/simple/**",
"themes/neon/tailwind.config.js": "themes/neon/**"
Expand Down

0 comments on commit 901cdf0

Please sign in to comment.