Re: [PATCH] doc: fix unmatched code fences
- From
brian m. carlson <sandals@crustytoothpaste.net>
- Date
- May 13, 2015, 22:22 UTC
- Message-ID
- <20150513222256.GB425227@vauxhall.crustytoothpaste.net>
- In-Reply-To
- <20150513043609.GA6038@peff.net>
On Wed, May 13, 2015 at 12:36:09AM -0400, Jeff King wrote:
Show 20 quoted lines
> On Tue, May 12, 2015 at 09:32:45PM -0700, Junio C Hamano wrote: > > > Jeff King <peff@peff.net> writes: > > > > >> It obviously is not a title underline as the lengths are vastly > > >> different. > > > > > > Yes, but Python Asciidoc allows the lengths to differ. > > > > Hmmm, I thought the title underline was a bit more strict. I do > > recall having to fix manual pages for many commands, but we do not > > add new commands these days anymore, so perhaps things have changed > > since then. > > I think it is loose in AsciiDoc and strict in AsciiDoctor, so we have > been slowly making sure they are all consistent. And we missed one, > which will be in the series I'll send in a moment. :) > > I suspect the potential ambiguity is one of the reasons that AsciiDoctor > went with the stricter rule.
The Python implementation allows a difference of ±2, while Asciidoctor only allows ±1.
-- brian m. carlson / brian with sandals: Houston, Texas, US +1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187