💾 Archived View for rawtext.club › ~sloum › geminilist › 007291.gmi captured on 2021-11-30 at 19:37:34. Gemini links have been rewritten to link to archived content

View Raw

More Information

-=-=-=-=-=-=-

<-- back to the mailing list

[spec] [whitespace]

Plain Text text at sdfeu.org

Mon Oct 11 16:15:44 BST 2021

- - - - - - - - - - - - - - - - - - - 

On Mon, 11 Oct 2021 15:44:33 +0100, Alan Bunbury wrote:

For example, should the line "#### Hello" be interpreted as (i)
a level 3 header whose text is "# Hello", or (ii) a text line whose text
is "#### Hello"? AFAIK that is ambiguous unless there is a clear stance
on mandatory whitespace in the spec.

Considering 5.3 of the current spec, "#### Hello" is to be interpreted as (i), i. e. as a level-three-header with content "# Hello", I guess:

It is possible to unambiguously determine a line's type purely by inspecting its first three characters.

https://gemini.circumlunar.space/docs/specification.gmi