I was talking to acdw on the Gemini channel, and for a bit we talked about poetry, and how to display it. I was reminded of bouncepaw’s post on extending gemtext's preformatted text.

Extending gemtext's preformatted text

As authors, we can’t control how things look inside a Gemini client. As Gemini client developers we it’s always tricky to make changes: you need both a server that serves something new, and a client that interprets it, in order to make progress, and then you need to convince others that it’s a good idea so that they idea can spread.

Well, the hard work has already been done for us in web browsers. So here’s what I did for Gemini Wiki: If the pre-formatted text has an annotation (“alt text”) of the form “type=something” (and something consists solely of the letters a–z), then it is used as the CSS class for the pre block in the HTML output (since Gemini Wiki serves both Gemini and the web).

And then I added a tiny bit of CSS for the “poetry” class on this site. As proof of concept, I submit the haiku collection I’ve written for the Gemini Test tests… Be sure to look at the HTML version as well! 😅

Haiku Collection