Skip to content

Commit 2cbcf1d

Browse files
committed
Update README
1 parent 1f97966 commit 2cbcf1d

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ Missing CSS support for HTML documents.
1111

1212
## Example
1313

14-
In the following HTML file, completion will suggest for all `id` and `class` attributes:
14+
In the following HTML file, completion will suggest for all `id` and `class` attributes.
1515

16+
#### **`index.html`**
1617
```html
1718
<!DOCTYPE html>
1819
<html>
@@ -52,18 +53,20 @@ In the following HTML file, completion will suggest for all `id` and `class` att
5253
</html>
5354
```
5455

55-
(1) External style sheet which will be fetched from `href`
56-
(2) Local style sheets which are all equivalent and points to the following `site.css` file in the root of workspace folder:
57-
(3) Embedded style
58-
56+
#### **`site.css`**
5957
```css
6058
.external {
6159
display: block;
6260
}
6361
```
6462

63+
1. External style sheet which will be fetched from `href`.
64+
2. Local style sheets which are all equivalent and points to `site.css` file in the root of workspace folder.
65+
3. Embedded style.
66+
6567
If it is not possible to specify local or remote styles within each HTML file, 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:
6668

69+
#### **`.vscode/settings.json`**
6770
```js
6871
"css.styleSheets": [
6972

0 commit comments

Comments
 (0)