Update Modifiers section to match the new TS definitions
This commit is contained in:
parent
0ac6f47334
commit
dea3c2d5b7
1 changed files with 11 additions and 9 deletions
20
readme.md
20
readme.md
|
|
@ -166,15 +166,17 @@ Explicit 256/Truecolor mode can be enabled using the `--color=256` and `--color=
|
|||
|
||||
### Modifiers
|
||||
|
||||
- `reset`
|
||||
- `bold`
|
||||
- `dim`
|
||||
- `italic` *(Not widely supported)*
|
||||
- `underline`
|
||||
- `inverse`
|
||||
- `hidden`
|
||||
- `strikethrough` *(Not widely supported)*
|
||||
- `visible` (Text is emitted only if enabled)
|
||||
| Modifier | Definition |
|
||||
| --- | --- |
|
||||
| `reset` | Resets the current color chain. |
|
||||
| `bold` | Make text bold. |
|
||||
| `dim` | Emitting only a small amount of light. |
|
||||
| `italic` | Make text italic. *(Not widely supported)* |
|
||||
| `underline` | Make text underline. *(Not widely supported)* |
|
||||
| `inverse` | Inverse background and foreground colors. |
|
||||
| `hidden` | Prints the text, but makes it invisible. |
|
||||
| `strikethrough` | [https://en.wikipedia.org/wiki/Strikethrough](https://en.wikipedia.org/wiki/Strikethrough) |
|
||||
| `visible` | Prints the text only when Chalk is enabled. Can be useful for things that are purely cosmetic. |
|
||||
|
||||
### Colors
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue