An open API service indexing awesome lists of open source software.

https://github.com/zaydek/vscode-sass-template-strings

Syntax highlighting for CSS and Sass template strings
https://github.com/zaydek/vscode-sass-template-strings

Last synced: 3 months ago
JSON representation

Syntax highlighting for CSS and Sass template strings

Awesome Lists containing this project

README

          

# Sass Template Strings (VS Code Extension)

[VS Code extension](https://marketplace.visualstudio.com/items?itemName=ZaydekMichels-Gualtieri.sass-template-strings) to add first-class CSS and Sass syntax highlighting for `css`, `sass`, and `scss` ES6 template literals (template strings).

For example:

```js
// Adds syntax highlighting here
css`
.foo bar {
content: "baz";
}
`

// Here
sass`
.foo {
.bar {
content: "baz";
}
}
`

// And here
sass(`
.foo {
.bar {
content: "baz";
}
}
`)
```

[`sass-template-strings`](https://marketplace.visualstudio.com/items?itemName=ZaydekMichels-Gualtieri.sass-template-strings) is a fork of [`sass-in-template-string`](https://marketplace.visualstudio.com/items?itemName=enhancedjs.sass-in-template-string) which is a fork of [`vscode-styled-components`](https://marketplace.visualstudio.com/items?itemName=jpoissonnier.vscode-styled-components).

---

Licensed as [MIT](/LICENSE).