Ansi colour markup - what encoding or mime type

Hannu Hartikainen hannu.hartikainen+gemini at gmail.com
Fri Jul 10 17:38:44 BST 2020


On Fri, 10 Jul 2020 at 19:00, Luke Emmet <luke at marmaladefoo.com> wrote:
> My understanding is that you can use special ANSI markup/escape
> characters to indicate colours.

You can, in terminals with ANSI support. Some Gemini clients might
even let ANSI sequences through, but they'd be wise to strip them for
text/gemini content.

> What is the correct mime type or encoding should be used for this?

text/x-ansi seems to be used for ANSI art. That's what
gemini://ansi.hrtk.in/ serves.

-Hannu


More information about the Gemini mailing list