Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added description of StyleColumnRainbow. #429

Merged
merged 1 commit into from
Aug 6, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 42 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,25 @@ StyleColumnRainbow:
- Foreground: "red"
```

Style specifications other than `Foreground` can also be specified.

```yaml
StyleColumnRainbow:
- Foreground: "white"
Background: "red"
- Foreground: "aqua"
Underline: true
- Foreground: "#ff7f00"
Background: "blue"
Bold: true
- Foreground: "lime"
Italic: true
- Foreground: "blue"
Dim: true
- Foreground: "yellowgreen"
- Foreground: "red"
```

### 3.6. <a name='column-width'></a>column-width

For output like `ps`, using `--column-width` is a better way to separate columns than using spaces as delimiters.
Expand Down Expand Up @@ -483,11 +502,13 @@ StyleMultiColorHighlight:
- Foreground: "red"
Reverse: true
- Foreground: "aqua"
Underline: true
- Foreground: "yellow"
Background: "blue"
- Foreground: "fuchsia"
- Foreground: "lime"
- Foreground: "blue"
- Foreground: "grey"
- Foreground: "#c0c0c0"
```

### 3.20. <a name='plain'></a>Plain
Expand Down Expand Up @@ -803,6 +824,26 @@ StyleAlternate:
| Italic | true/false | false |
| Underline | true/false | false |

Specify `StyleMultiColorHighlight` and `StyleColumnRainbow` in an array.

```yaml
StyleMultiColorHighlight
- Foreground: "red"
Reverse: true
- Foreground: "aqua"
Underline: true
```

```yaml
StyleColumnRainbow:
- Foreground: "white"
Background: "black"
- Foreground: "aqua"
Background: "black"
Underline: true
- Background: "lightsalmon"
```

### 7.2. <a name='customizing-the-bottom-status-line'></a>Customizing the bottom status line

You can customize the bottom status line.
Expand Down