💾 Archived View for rawtext.club › ~sloum › geminilist › 004713.gmi captured on 2023-11-14 at 10:38:41. 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

Karmanyaah Malhotra karmanyaahm at gmail.com

Sun Jan 3 22:46:21 GMT 2021

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

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

Perhaps a balance between pre-formatted and attached could be something like```parse:table+--------------------------------+-------+| Food | Price |+--------------------------------+-------+| Eggs | $2 || Eggs and spam | $4 || Just spam | $2 |+--------------------------------+-------+```This way, clients don't *have* to parse it, but if supported, they can.

Perhaps easier to parse would be.```parse:table:/link/to/file.csv+--------------------------------+-------+| Food | Price |+--------------------------------+-------+| Eggs | $2 || Eggs and spam | $4 || Just spam | $2 |+--------------------------------+-------+```This could again be optional and would allow for choice on whethercontent authors want their tables rendered and if clients support it. Ifthe client doesn't support it, the table would show up as pre-formatted.

The second approach would require more work by authors but thepreformatted tables can be easily generated from a CSV (or any otherformat) by servers or static site generators.-- Karmanyaah Malhotrahttps://karmanyaah.malhotra.cc/contact/

-------------- next part --------------A non-text attachment was scrubbed...Name: OpenPGP_signatureType: application/pgp-signatureSize: 488 bytesDesc: OpenPGP digital signatureURL: <https://lists.orbitalfox.eu/archives/gemini/attachments/20210103/d33356a6/attachment.sig>