Replace level list with table in readme.md

This commit is contained in:
Mark Pedrotti 2019-09-30 15:51:56 -04:00
parent 48905d0805
commit 06bd3c07aa

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