diff options
-rw-r--r-- | manual/src/choosing-colors-styles.md | 2 | ||||
-rw-r--r-- | manual/src/custom-themes.md | 2 | ||||
-rw-r--r-- | manual/src/get-started.md | 2 | ||||
-rw-r--r-- | manual/src/git-blame.md | 2 | ||||
-rw-r--r-- | manual/src/grep.md | 2 | ||||
-rw-r--r-- | manual/src/installation.md | 2 | ||||
-rw-r--r-- | manual/src/line-numbers.md | 2 | ||||
-rw-r--r-- | manual/src/side-by-side-view.md | 2 |
8 files changed, 8 insertions, 8 deletions
diff --git a/manual/src/choosing-colors-styles.md b/manual/src/choosing-colors-styles.md index e974ebe5..65abfa3f 100644 --- a/manual/src/choosing-colors-styles.md +++ b/manual/src/choosing-colors-styles.md @@ -13,4 +13,4 @@ Here's an example: That means: For removed lines, set the foreground (text) color to 'red', make it bold and underlined, and set the background color to `#ffeeee`. -For full details, see the `STYLES` section in [`delta --help`](#full---help-output). +For full details, see the `STYLES` section in [`delta --help`](./full---help-output.md). diff --git a/manual/src/custom-themes.md b/manual/src/custom-themes.md index 0d7e0f0d..0416c684 100644 --- a/manual/src/custom-themes.md +++ b/manual/src/custom-themes.md @@ -1,6 +1,6 @@ # Custom themes -A "theme" in delta is just a collection of settings grouped together in a named [feature](#features-named-groups-of-settings). One of the available settings is `syntax-theme`: this dictates the colors and styles that are applied to foreground text by the syntax highlighter. Thus the concept of "theme" in delta encompasses not just the foreground syntax-highlighting color theme, but also background colors, decorations such as boxes and under/overlines, etc. +A "theme" in delta is just a collection of settings grouped together in a named [feature](./features-named-groups-of-settings.md). One of the available settings is `syntax-theme`: this dictates the colors and styles that are applied to foreground text by the syntax highlighter. Thus the concept of "theme" in delta encompasses not just the foreground syntax-highlighting color theme, but also background colors, decorations such as boxes and under/overlines, etc. The delta git repo contains a [collection of themes](./themes.gitconfig) created by users. These focus on the visual appearance: colors etc. If you want features like `side-by-side` or `navigate`, you would set that yourself, after selecting the color theme. To use the delta themes, clone the delta repo (or download the [themes.gitconfig](./themes.gitconfig) file) and add the following entry in your gitconfig: diff --git a/manual/src/get-started.md b/manual/src/get-started.md index 19c26fe7..fdbaf2e4 100644 --- a/manual/src/get-started.md +++ b/manual/src/get-started.md @@ -1,6 +1,6 @@ # Get started -[Install](#installation) delta and add this to your `~/.gitconfig`: +[Install](./installation.md) delta and add this to your `~/.gitconfig`: ```gitconfig [core] diff --git a/manual/src/git-blame.md b/manual/src/git-blame.md index e3320222..6798fe13 100644 --- a/manual/src/git-blame.md +++ b/manual/src/git-blame.md @@ -1,6 +1,6 @@ # Git blame -Set delta as the pager for `blame` in the `[pager]` section of your gitconfig: see the [example gitconfig](#get-started). +Set delta as the pager for `blame` in the `[pager]` section of your gitconfig: see the [example gitconfig](./get-started.md). If `hyperlinks` is enabled in the `[delta]` section then each blame commit will link to the commit on GitHub/GitLab/Bitbucket/etc. <table><tr><td><img width=600px src="https://user-images.githubusercontent.com/52205/141891376-1fdb87dc-1d9c-4ad6-9d72-eeb19a8aeb0b.png" alt="image" /></td></tr></table> diff --git a/manual/src/grep.md b/manual/src/grep.md index 00d4ce70..e8d77124 100644 --- a/manual/src/grep.md +++ b/manual/src/grep.md @@ -1,7 +1,7 @@ # Grep Delta applies syntax-highlighting and other enhancements to standard grep output such as from `git grep`, [ripgrep](https://github.com/BurntSushi/ripgrep/) (aka `rg`), grep, etc. -To use with `git grep`, set delta as the pager for `grep` in the `[pager]` section of your gitconfig. See the example at the [top of the page](#get-started). +To use with `git grep`, set delta as the pager for `grep` in the `[pager]` section of your gitconfig. See the example at the [top of the page](./get-started.md). Output from other grep tools can be piped to delta: e.g. `rg -Hn --color=always`, `grep -Hn --color=always`, etc. To customize the colors and syntax highlighting, see `grep-match-line-style`, `grep-match-word-style`, `grep-contexct-line-style`, `grep-file-style`, `grep-line-number-style`. Ripgrep's `rg --json` output format is supported; this avoids certain file name parsing ambiguities that are inevitable with the standard grep output formats. diff --git a/manual/src/installation.md b/manual/src/installation.md index 0102c9ed..f999da71 100644 --- a/manual/src/installation.md +++ b/manual/src/installation.md @@ -84,4 +84,4 @@ Users of older MacOS versions (e.g. 10.11 El Capitan) should install using Homeb Behind the scenes, delta uses [`less`](https://www.greenwoodsoftware.com/less/) for paging. It's important to have a reasonably recent version of less installed. -On MacOS, install `less` from Homebrew. For Windows, see [Using Delta on Windows](#using-delta-on-windows). +On MacOS, install `less` from Homebrew. For Windows, see [Using Delta on Windows](./using-delta-on-windows.md). diff --git a/manual/src/line-numbers.md b/manual/src/line-numbers.md index 4da1103c..d2daffbd 100644 --- a/manual/src/line-numbers.md +++ b/manual/src/line-numbers.md @@ -7,4 +7,4 @@ <table><tr><td><img width=400px src="https://user-images.githubusercontent.com/52205/86275526-76792100-bba1-11ea-9e78-6be9baa80b29.png" alt="image" /></td></tr></table> -The numbers are displayed in two columns and there are several configuration options: see the `LINE NUMBERS` section in [`delta --help`](#full---help-output) for details, and see the next section for an example of configuring line numbers. +The numbers are displayed in two columns and there are several configuration options: see the `LINE NUMBERS` section in [`delta --help`](./full---help-output.md) for details, and see the next section for an example of configuring line numbers. diff --git a/manual/src/side-by-side-view.md b/manual/src/side-by-side-view.md index 0acffe98..3e6cb70f 100644 --- a/manual/src/side-by-side-view.md +++ b/manual/src/side-by-side-view.md @@ -5,7 +5,7 @@ side-by-side = true ``` -By default, side-by-side view has line-numbers activated, and has syntax highlighting in both the left and right panels: [[config](#side-by-side-view-1)] +By default, side-by-side view has line-numbers activated, and has syntax highlighting in both the left and right panels: [[config](./side-by-side-view-1.md)] <table><tr><td><img width=800px src="https://user-images.githubusercontent.com/52205/87230973-412eb900-c381-11ea-8aec-cc200290bd1b.png" alt="image" /></td></tr></table> |