💾 Archived View for rawtext.club › ~sloum › geminilist › 004718.gmi captured on 2024-03-21 at 16:49:23. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-11-30)

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

<-- back to the mailing list

[spec] Possible Tables Syntax

Katarina Eriksson gmym at coopdot.com

Mon Jan 4 05:32:36 GMT 2021

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

Karmanyaah Malhotra <karmanyaahm at gmail.com> wrote:

I think having some, any, sort of table syntax that can be adjusted by
the client is useful.

Plenty of things would be useful. The question isn't "is it useful?" Thequestion is "can we do without?"

> +--------------------------------+-------+
> | Food                           | Price |
> +--------------------------------+-------+
> | Eggs                           | $2    |
> | Eggs and spam                  | $4    |
> | Just spam                      | $2    |
> +--------------------------------+-------+
> ```
>

Ah, yes. Abusing the alt text. I've done that [1] and Solderpunk was notexactly amused. [2]

Sure, use of alt text is at the client's discretion and the spec mentionesusing it to indicate a programming language. Do keep in mind that it willbe read out to visually impaired users, so please go easy on the syntax.

For links, I recommend link lines. That way, everyone can get the file.

Here is another example, with added line numbers to show intentional linebreaks:

00]01] ``` The table listing Food and Price says: Eggs are $2, Eggs and spamare $4, Just spam are $2.02] +--------------------------------+-------+03] | Food                           | Price |04] +--------------------------------+-------+05] | Eggs                           | $2    |06] | Eggs and spam                  | $4    |07] | Just spam                      | $2    |08] +--------------------------------+-------+09] ```10] =
> /link/to/file.csv parse:table11]

>I put the link line on line 10 but you could put it on line 0 if you want.

[1] https://lists.orbitalfox.eu/archives/gemini/2020/000930.html[2] https://lists.orbitalfox.eu/archives/gemini/2020/000933.html

-- Katarina-------------- next part --------------An HTML attachment was scrubbed...URL: <https://lists.orbitalfox.eu/archives/gemini/attachments/20210104/b323cd64/attachment.htm>