docs: fix DELTA_FEATURES markdown link and grammar (#2199)

The toggle tip linked DELTA_FEATURES with a broken markdown/backtick
pairing, so the features page link did not render. Also fix "can used".
This commit is contained in:
Bartok
2026-07-21 08:06:11 -04:00
committed by GitHub
parent f85c46ba8b
commit b8cbc62631
2 changed files with 2 additions and 2 deletions
@@ -26,7 +26,7 @@ All delta options can go under the `[delta]` section in your git config file. Ho
<table><tr><td><img width=400px src="https://user-images.githubusercontent.com/52205/86275048-a96ee500-bba0-11ea-8a19-584f69758aee.png" alt="image" /></td></tr></table>
The environment variable `DELTA_FEATURES` can used to enable features from the command line: it should be set to a space-separated string of feature names.
The environment variable `DELTA_FEATURES` can be used to enable features from the command line: it should be set to a space-separated string of feature names.
If you precede this with a `+` symbol, then the features are _added_ to those configured elsewhere, instead of replacing them.
This is very useful, for example to temporarily switch delta to side-by-side mode you can do
@@ -1,4 +1,4 @@
To toggle features such as `side-by-side` on and off, you need to *not* turn on `line-numbers` or `side-by-side` etc in your main delta config (`~/.gitconfig`). Then, one approach is to use the [`DELTA_FEATURES](../features-named-groups-of-settings.md)` environment variable:
To toggle features such as `side-by-side` on and off, you need to *not* turn on `line-numbers` or `side-by-side` etc in your main delta config (`~/.gitconfig`). Then, one approach is to use the [`DELTA_FEATURES`](../features-named-groups-of-settings.md) environment variable:
```sh
export DELTA_FEATURES=+side-by-side