You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All local links point to the same file which is in the root of workspace folder:
64
64
65
-
**`site.css`**
65
+
**`style.css`**
66
66
```css
67
67
.external {
68
68
display: block;
@@ -130,33 +130,29 @@ Styles defined in `base.html` will also be available for completion in `home.htm
130
130
If it is not possible to specify local or remote styles in HTML or via template inheritance, they can be specified in VS Code settings per workspace folder in `.vscode/settings.json` and will suggest for all HTML files within that workspace folder:
All relative paths will be evaluated relative to the HTML file being edited.
144
+
This configuration is same as the first example. All relative paths will be evaluated relative to the HTML file being edited.
151
145
152
146
## Selector Validation
153
147
154
148
Validated selectors can be configured with the `css.validation` setting. By default `class` selectors are validated:
155
149
156
150
```json
157
-
"css.validation": {
158
-
"id": false,
159
-
"class": true
151
+
{
152
+
"css.validation": {
153
+
"id": false,
154
+
"class": true
155
+
}
160
156
}
161
157
```
162
158
@@ -165,9 +161,11 @@ Validated selectors can be configured with the `css.validation` setting. By defa
165
161
Supported languages can be configured with the `css.enabledLanguages` setting. By default `html` is enabled:
166
162
167
163
```json
168
-
"css.enabledLanguages": [
169
-
"html"
170
-
]
164
+
{
165
+
"css.enabledLanguages": [
166
+
"html"
167
+
]
168
+
}
171
169
```
172
170
173
171
Extension can be configured to support any language where it makes sense such as `nunjucks`, `twig`, `mustache`, etc. You should also install corresponding language extension which registers the language id in VS Code.
0 commit comments