Skip to content

Commit

Permalink
Added description of StyleColumnRainbow.
Browse files Browse the repository at this point in the history
Resolve #427

Added description of style specification for
StyleColumnRainbow and StyleMultiColorHighlight.
  • Loading branch information
noborus committed Aug 5, 2023
1 parent 3fcdd32 commit d57c8ed
Showing 1 changed file with 42 additions and 1 deletion.
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

0 comments on commit d57c8ed

Please sign in to comment.