Replace level list with table in readme.md (#367)

* Replace level list with table in readme.md

* Capitalize table headings and center level numbers
This commit is contained in:
Mark Pedrotti 2019-09-30 21:13:15 -04:00 committed by Qix
parent 48905d0805
commit eef8c8c191

View file

@ -132,12 +132,12 @@ If you need to change this in a reusable module, create a new instance:
const ctx = new chalk.Instance({level: 0});
```
Levels are as follows:
0. All colors disabled
1. Basic color support (16 colors)
2. 256 color support
3. Truecolor support (16 million colors)
| Level | Description |
| :---: | :--- |
| `0` | All colors disabled |
| `1` | Basic color support (16 colors) |
| `2` | 256 color support |
| `3` | Truecolor support (16 million colors) |
### chalk.supportsColor