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

Re: [PATCH] Documentation: render dash correctly

From
MÅMartin Ågren <martin.agren@gmail.com>
Date
Jan 23, 2023, 08:19 UTC
Message-ID
<CAN0heSo6poJMNSmJ2Vwy2ecrW3YRc0E5VYLH22fXUgnqfx_TAA@mail.gmail.com>
In-Reply-To
<xmqqcz76qizp.fsf@gitster.g>
On Sun, 22 Jan 2023 at 23:55, Junio C Hamano <gitster@pobox.com> wrote:
Show 12 quoted lines
>
> Andrei Rybak <rybak.a.v@gmail.com> writes:
>
> > Three hyphens are rendered verbatim in documentation, so "--" has to be
> > used to produce a dash.
>
> Sad but true.  I suspect folks with TeX background were so
> accustomed to type three dashes to obtain em dash, but with AsciiDoc
> (and asciidoctor), sadly, two dashes is a way to ask for em dash.
>
> The changes in your patch look all reasonable to me at the source
> level; I didn't do Documentation/doc-diff to verify, though.
doc-diff looks good.

I suspect these were identified by greping for " --- ", spaces included. We seem to have some "---" that aren't surrounded by spaces. They're perhaps a bit more tedious to find, but I see there are two in gitformat-signature.txt and technical/rerere.txt. Maybe it would be worthwhile addressing them too in this patch.

Martin
Previous: Junio C HamanoNext: Andrei Rybak
Message 3 of 7 in “Documentation: render dash correctly”
  1. Documentation: render dash correctlyAndrei Rybak, Jan 22, 2023
  2. Junio C HamanoJan 22, 2023
  3. Martin ÅgrenJan 23, 2023
  4. Documentation: render dash correctlyAndrei Rybak, Jan 23, 2023
  5. Martin ÅgrenJan 23, 2023
  6. Junio C HamanoJan 23, 2023
  7. Andrei RybakJan 23, 2023

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.