Skip to content

Commit

Permalink
docs: use code block for ui.pager config example
Browse files Browse the repository at this point in the history
  • Loading branch information
arxanas committed Oct 3, 2023
1 parent dbbed2d commit d9597c5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,9 @@ If you'd like to pass the output through a formatter e.g.
through a pager you must do it using a subshell as, unlike `git` or `hg`, the
command will be executed directly. For example:

`ui.pager = ["sh", "-c", "diff-so-fancy | less -RFX"]`
```toml
ui.pager = ["sh", "-c", "diff-so-fancy | less -RFX"]
```

## Aliases

Expand Down

0 comments on commit d9597c5

Please sign in to comment.