diff --git a/README.md b/README.md index 395b0c2..c3a6e36 100644 --- a/README.md +++ b/README.md @@ -26,23 +26,26 @@ Missing CSS support for HTML documents. - nunjucks - javascript - javascriptreact +- typescript +- typescriptreact ## Remote Style Sheets Remote style sheets can be specified in VS Code settings: -``` +```json "css.remoteStyleSheets": [ "https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" ] ``` + ## Style Sheet File Extensions By default, `css` and `scss` files in the project are parsed. You may configure this in VS Code Settings Remote style sheets can be specified in VS Code settings: -``` +```json "css.fileExtensions": [ "css", "scss"] ``` @@ -51,4 +54,5 @@ Remote style sheets can be specified in VS Code settings: [Visual Studio Code Marketplace](https://marketplace.visualstudio.com/items?itemName=ecmel.vscode-html-css) ## Usage + You can view a list of attributes via `ctrl + space`. diff --git a/package.json b/package.json index 2ccb2ed..5bbd2ae 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,9 @@ "onLanguage:md", "onLanguage:nunjucks", "onLanguage:javascript", - "onLanguage:javascriptreact" + "onLanguage:javascriptreact", + "onLanguage:typescriptreact", + "onLanguage:typescript" ], "main": "./out/src/extension", "scripts": {