From d9597c55ec9d0db0da94f6e07ca1162c48372460 Mon Sep 17 00:00:00 2001 From: Waleed Khan Date: Mon, 2 Oct 2023 15:24:00 -0700 Subject: [PATCH] docs: use code block for `ui.pager` config example --- docs/config.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/config.md b/docs/config.md index bdfc03ead6..d0dfb9c105 100644 --- a/docs/config.md +++ b/docs/config.md @@ -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