<-- back to the mailing list

A proposed scheme for parsing preformatted alt text

Sean Conner sean at conman.org

Fri Sep 11 08:44:06 BST 2020

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

It was thus said that the Great Nathan Galt once stated:

On Sep 10, 2020, at 5:30 PM, Sean Conner <sean at conman.org> wrote:
I added the following non-standard document:
gemini://gemini.conman.org/test/preformat.gemini
that contains "machine readable text" at the opening preformatted marker,
and a "human readable text" on the ending preformatted marker, just to give
an indication of what it might look like and what might be done with it.
Enough talk, *someone* has to do an implementation to scare the bejeezus out
of everyone (not that it's particularly scary in what I did).
-spc (HTML people. Seriously, HTML. You want your format, you have it
already ... )
I like sets of concrete examples. Thanks for whipping this up.
What I dislike about this style of “‘machine-readable’ text up top” (for
some definition of “machine-readable”) is that the alt-text function has
been entirely obliterated, at least in these examples.
For the two code bits at the top of the page, the alt text should be the
contents of the captions at the bottom of each.
For the three “images”, the alt-text should be something like:
- a dragon
- Merry Christmas
- a Christmas tree with a rabbit sitting near its base

Okay, check out

gemini://gemini.conman.org/test/preformat-2.gemini

-spc (Taking away my fun with the alt-text ... )