A proposed scheme for parsing preformatted alt text

Sean Conner sean at conman.org
Fri Sep 11 20:57:48 BST 2020


It was thus said that the Great Nathan Galt once stated:
> 
> > On Sep 11, 2020, at 12:44 AM, Sean Conner <sean at conman.org> wrote:
> > 
> >  Okay, check out
> > 
> > 	gemini://gemini.conman.org/test/preformat-2.gemini
> 
> Much better.
> 
> I don’t know if “image” before the ASCII-art images is, or would be,
> useful to anything.

  It would prevent a screen reader from reading "circumflex circumflex next
line slash backslash slash slash backslash nextline ..."

> It seems a little weird to see “ code Lua” instead of “lua”, and I don’t
> know how easy it would be to adjust syntax-coloring libraries to account
> for this, but this nitpick is largely immaterial.

  Do you really want a client to have to list all these languages?

	https://en.wikipedia.org/wiki/List_of_programming_languages

  At least with the prefix "code" the client can know it's source code, even
if it doesn't what the language is.  And having the language can let a
client syntax highlight for those languages it does know.  That was my
reasoning.

> Like with the last one, thanks for making a concrete example.

  You're welcome.

  -spc



More information about the Gemini mailing list