[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Add a syntax file for Gemtext
From: |
Benno Schulenberg |
Subject: |
Re: [PATCH] Add a syntax file for Gemtext |
Date: |
Sun, 29 Aug 2021 10:03:50 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 |
Op 27-08-2021 om 14:42 schreef Victor Sannier:
> It might be useful to add it to the syntax/extra directory.
Nah. The protocol is two years old. There are no .gmi files
in the wild installed by default on GNU/Linux systems. The
enthusiasts who use this protocol will be able to find on the
net (maybe put it on that website) a syntax file that colors
their documents.
> => gemini://gemini.circumlunar.space/ Project Gemini
> => gemini://gemini.circumlunar.space/docs/gemtext.gmi A quick introduction to
> Gemtext
For the vast majority of people those links are useless.
You made me do the work of replacing gemini: with http:. :(
> +# Headings
> +color brightyellow "^#{1,3}[^#].*"
According to https://gemini.circumlunar.space/docs/gemtext.gmi
the final # in the header marker must be followed by a space.
> +# List-item markers
> +color brightmagenta "^\*[[:space:]]"
That same document says it should be a plain space: "^\* "
Benno
OpenPGP_signature
Description: OpenPGP digital signature