A thing that has always frustrated me about github/bitbucket, as a language designer, is that you can't teach the forge to syntax highlight files in your own custom formats.

Now the existence of Codeberg/git.gay means potentially I could create a PR to forgejo to add this feature and it would get added to the forges I actually use. Perhaps at some point I will do this.

Anybody know off the top of their heads what syntax-highlighter format Codeberg/Forgejegejo even uses?
@mcc last I checked it was https://github.com/alecthomas/chroma ;  I remember sending a patch to support Fennel and it was handled pretty promptly
GitHub - alecthomas/chroma: A general purpose syntax highlighter in pure Go

A general purpose syntax highlighter in pure Go . Contribute to alecthomas/chroma development by creating an account on GitHub.

GitHub

@technomancy @mcc That's also my experience.

I sent Chroma a grammar for my language, waited until Forgejo updated its Chroma version and now I have syntax highlighting in Codeberg!

Example: https://codeberg.org/core-lang/core/src/branch/main/stdlib/string.core

core/stdlib/string.core at main

core - compiler, runtime and standard library of the Core programming language –

Codeberg.org
@soc @technomancy I guess, in this case what I'm interested in is I am doing experiments with small unfinished languages whose grammars are not finalized, and which I don't expect people to use, but I'd like to show it to people to have languages about language design. I was hoping to solve the larger problem of small situational things like WIP language impls or like, file formats for a single application. I guess maybe I just use something other than codeberg to visualize them.