Update language support docs (#5178)
* Update language support docs This commit updates docs language to reflect the change in #4528 that removes the inferred default parser. * Remove language-support.md docs file This removes the language support doc file as information is out dated, or available elsewhere in the docs. * removes language-support from sidebars config
This commit is contained in:
1 parent
6a54e21c12
commit
f9bce75034
2 files changed
-13
No files matched your search
@@ -1,12 +0,0 @@
|
||||
---
|
||||
id: language-support
|
||||
title: Language Support
|
||||
---
|
||||
|
||||
Prettier attempts to support all JavaScript language features, including non-standardized ones. By default it uses the [Babylon](https://github.com/babel/babylon) parser with all language features enabled, but you can also use the [Flow](https://github.com/facebook/flow) parser with the `parser` API or `--parser` CLI [option](options.md).
|
||||
|
||||
All of JSX and Flow syntax is supported. In fact, the test suite in `tests/flow` _is_ the entire Flow test suite and they all pass.
|
||||
|
||||
Prettier also supports [TypeScript](https://www.typescriptlang.org/), CSS, [Less](http://lesscss.org/), [SCSS](http://sass-lang.com), [Vue](https://vuejs.org/), [JSON](http://json.org/), [GraphQL](http://graphql.org/), [Markdown](http://commonmark.org), and [YAML](http://yaml.org/).
|
||||
|
||||
The minimum version of TypeScript supported is 2.1.3 as it introduces the ability to have leading `|` for type definitions which prettier outputs.
|
||||
@@ -4,7 +4,6 @@
|
||||
"index",
|
||||
"why-prettier",
|
||||
"comparison",
|
||||
"language-support",
|
||||
"option-philosophy",
|
||||
"rationale"
|
||||
],
|
||||
|
||||
Reference in new issue
Block a user