1 | # Syntaxes
|
2 |
|
3 | There are many styling languages, ranging from CSS language extensions like SCSS to entirely different notations, e.g. CSS-in-JS objects.
|
4 |
|
5 | These styling languages can be embedded within other languages too. For example:
|
6 |
|
7 | - HTML `<style>` tags
|
8 | - markdown fences
|
9 | - JavaScript template literals
|
10 |
|
11 | We aim to support all these use cases in stylelint, but it's a complicated endeavor.
|
12 |
|
13 | We lean on [PostCSS syntaxes](https://github.com/postcss/postcss#syntaxes) to help us with this task. We use them to transform these languages into something that resembles CSS, which is the language that:
|
14 |
|
15 | - underpins all the other styling languages
|
16 | - is best understood by rules built into stylelint
|
17 |
|
18 | If you write your styles in anything other than CSS, please consider [contributing to these syntaxes](../developer-guide/syntaxes.md) so that they can remain compatible with stylelint.
|