Re: [PATCH 2/6] doc: line-range: improve formatting
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 29, 2020, 20:19 UTC
- Message-ID
- <xmqqblgk7pjv.fsf@gitster.c.googlers.com>
- In-Reply-To
- <CAPig+cQcjjj3x_iTDX=yBUai6xHrShsGO5J3sdpX-2UhM7_OJQ@mail.gmail.com>
Eric Sunshine <sunshine@sunshineco.com> writes:
Show 11 quoted lines
> On Wed, Oct 28, 2020 at 8:48 AM Philippe Blain via GitGitGadget > <gitgitgadget@gmail.com> wrote: >> Improve the formatting of the description of the line-range option '-L' >> for `git log`, `gitk` and `git blame`: >> >> - Use bold for <start>, <end> and <funcname> > > My impression is that it is more common in Git documentation for these > placeholders to be formatted with backticks rather than as bold (or, > if not more common currently, at least is trending that way). That's > not to say that my impression is necessarily accurate.
I think the impression is fairly in line with the reality. That is not to say that it is a good future to aim for.
My personal preference is
- use `as-is` for things that must be typed as-is (e.g. `-L`)
- use 'emph' for things that are placeholder (e.g. '<start>'').