git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 2/2] Documentation: render revisions correctly under Asciidoctor

From
MÅ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.

Previous: brian m. carlsonNext: brian m. carlson
Message 8 of 12 in “revisions.txt: expand tabs to spaces in diagram”
  1. revisions.txt: expand tabs to spaces in diagramMartin Ågren, Apr 30, 2018
  2. Junio C HamanoMay 2, 2018
  3. Martin ÅgrenMay 2, 2018
  4. brian m. carlsonMay 4, 2018
  5. Junio C HamanoMay 4, 2018
  6. 1/2 Documentation: use 8-space tabs with Asciidoctorbrian m. carlson, May 6, 2018
  7. 2/2 Documentation: render revisions correctly under Asciidoctorbrian m. carlson, May 6, 2018
  8. Martin ÅgrenMay 7, 2018
  9. brian m. carlsonMay 8, 2018
  10. Martin ÅgrenMay 8, 2018
  11. brian m. carlsonMay 9, 2018
  12. Junio C HamanoMay 7, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.