Re: [PATCH] doc/config/push: use longer "--" line for preformatted example
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 18, 2020, 21:47 UTC
- Message-ID
- <xmqqblpvin4a.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <20200218212537.GA33327@coredump.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 5 quoted lines
> The example for the push.pushOption config tries to create a > preformatted section, but uses only two dashes in its "--" line. In > AsciiDoc this is an "open block", with no type; the lines end up jumbled > because they're formatted as paragraphs. We need four or more dashes to > make it a "listing block" that will respect the linebreaks.
And the itemized list in push.default is delimited with two dashes as a non listing block, so it is shown correctly as a bulletted list just fine. Makes sense.
Will queue.