Skip to content

Add JSON syntax highlighting to README.md #1070

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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