From 4601d3b50c7066fbd000029a43e96a4ad877712c Mon Sep 17 00:00:00 2001 From: Wilfred Hughes Date: Wed, 8 Sep 2021 23:18:02 -0700 Subject: [PATCH] Improve syntax highlighting in Getting Started chapter --- manual/src/getting_started.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/manual/src/getting_started.md b/manual/src/getting_started.md index 19c985b8a..1898b4ad7 100644 --- a/manual/src/getting_started.md +++ b/manual/src/getting_started.md @@ -27,7 +27,7 @@ Git [supports external diff tools](https://git-scm.com/docs/diff-config#Documentation/diff-config.txt-diffexternal). You can use `GIT_EXTERNAL_DIFF` for a one-off git command. -```shell +``` $ GIT_EXTERNAL_DIFF=difftastic git diff $ GIT_EXTERNAL_DIFF=difftastic git log -p --ext-diff $ GIT_EXTERNAL_DIFF=difftastic git show e96a7241760319 --ext-diff @@ -35,7 +35,7 @@ $ GIT_EXTERNAL_DIFF=difftastic git show e96a7241760319 --ext-diff If you want to use difftastic by default, use `git config`. -```shell +``` # Set git configuration for the current repository. $ git config diff.external difftastic @@ -58,7 +58,8 @@ $ git show e96a7241760319 --ext-diff [git difftool](https://git-scm.com/docs/git-difftool) is a git command for viewing the current changes with a different diff tool. Add the following to your `.gitconfig` to use difftastic as your difftool. -``` + +```ini [diff] tool = difftastic