Re: [PATCH 2/2] Documentation: render revisions correctly under Asciidoctor
- From
- Martin Ågren <martin.agren@gmail.com>
- Date
- May 7, 2018, 04:11 UTC
- Message-ID
- <CAN0heSrth+ZheEsHuVdyUv9fcnP07O=YvK6y+=rmaGqZf7X3_w@mail.gmail.com>
- In-Reply-To
- <20180506204226.955739-2-sandals@crustytoothpaste.net>
On 6 May 2018 at 22:42, brian m. carlson <sandals@crustytoothpaste.net> wrote:
> When creating a literal block from an indented block without any sort of > delimiters, Asciidoctor strips off all leading whitespace, resulting in > a misrendered chart. Use an explicit literal block to indicate to > Asciidoctor that we want to keep the leading whitespace.
Excellent. These two patches fix my original problem and seem like the obviously correct approach (in hindsight ;-) ). I wonder if the diagrams earlier in the file should be tackled also. Right now, one has a huge number of dots instead of the four you added; the other has none. They do render fine though, so that'd only be about consistency in the original .txt-file.