Skip to content

Commit

Permalink
Replace level list with table in readme.md (#367)
Browse files Browse the repository at this point in the history
* Replace level list with table in readme.md

* Capitalize table headings and center level numbers
  • Loading branch information
pedrottimark authored and Qix- committed Oct 1, 2019
1 parent 48905d0 commit eef8c8c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions readme.md
Expand Up @@ -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

Expand Down

0 comments on commit eef8c8c

Please sign in to comment.