💾 Archived View for bbs.geminispace.org › u › Houjimmy › 18013 captured on 2024-08-18 at 20:03:32. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2024-07-09)

🚧 View Differences

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

Comment by 😺 Houjimmy

Re: "Gemtext tables & etc"

In: s/Gemini

Ok. But so let's start it simple: Using a library like "tabulate" within the preformated syntax ``` between a specific identifier would still present a very decent and easy tabulation, github-styled, at least for presenting text.

😺 Houjimmy [OP]

Jun 19 · 2 months ago

1 Later Comment

🧇 Acidus · Jul 21 at 19:51:

FWIW, I wrote something last year on *why* trying to implement a custom table format is so hard.

gemini://gemi.dev/gemlog/2023-06-30-tables-in-gemtext.gmi

TLDR: Just put pre-rendered tables in a pre section. Figuring out how to render a table is hard. You can't start rendering it until you know how wide the table columns need to be. This requires you to read multiple lines of a gemtext document before rendering and use state, which is crazy complex and contradicts gemtext's line-oriented design principle. And wrapping lines is complicated. You are basically speed running all the challenges and mistakes HTML tables made over the years. Don't do that.

Original Post

🌒 s/Gemini

Gemtext tables & etc — I have a question: Is it an heresy to consider that the gemtext protocol would be incredibly better (like, a GIANT LEAP) with the inclusion of tables like in html2 (just the tables, i'm not mentioning anything else)? I think it would really help with the content organization in the space of the screen. The developers had said much about gemini like an evolution of gopher, and it really is at protocol level but I really can`t say much about the gemtext standart, it's...

💬 Houjimmy · 12 comments · Jun 17 · 2 months ago