forked from orbit-oss/chalk
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:
parent
48905d0805
commit
eef8c8c191
1 changed files with 6 additions and 6 deletions
12
readme.md
12
readme.md
|
|
@ -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});
|
const ctx = new chalk.Instance({level: 0});
|
||||||
```
|
```
|
||||||
|
|
||||||
Levels are as follows:
|
| Level | Description |
|
||||||
|
| :---: | :--- |
|
||||||
0. All colors disabled
|
| `0` | All colors disabled |
|
||||||
1. Basic color support (16 colors)
|
| `1` | Basic color support (16 colors) |
|
||||||
2. 256 color support
|
| `2` | 256 color support |
|
||||||
3. Truecolor support (16 million colors)
|
| `3` | Truecolor support (16 million colors) |
|
||||||
|
|
||||||
### chalk.supportsColor
|
### chalk.supportsColor
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue