๐พ Archived View for bbs.geminispace.org โบ u โบ A161 โบ 20600 captured on 2024-12-17 at 15:26:56. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
ah nice, thx. so its possible but not that userfriendly yet
Oct 09 ยท 2 months ago
Most clients do not bother to strip ANSI escapes. You can directly put the output from a code highlighter in the gemtext. E.g.: "bat --color=always --theme=GitHub". Just try to find one that blends with various background colors.
๐ stack ยท Oct 09 at 22:17:
It's not that "it's not userfriendly yet", it's basically undefined behaviour. It sort of works in some browsers, and some games rely on it, but it's not specified in the spec and should be generally avoided.
colored code in gemini โ hello, just want to test gemini. seems nice. does anyone know a client that can automatically detect language of code parts and color them like a code editor or github etc? would be great for tutorials, documentations and stuff.