Package: libhighlight-perl Version: 3.41-2+b1 Severity: wishlist Tags: upstream
It would be nice if the highlight API provided a way to reliably map filename extensions and shebangs to the language I'm highlighting. I'm currently parsing the filetypes.conf directly and it's a bit fragile: https://public-inbox.org/meta/36e311060dcf52bb41eed5f6a2cff38bbb2de006/s/?b=lib/PublicInbox/HlMod.pm#n31 ikiwiki has similar code to map filename extensions (but not shebangs). I know this is an upstream issue, but the GitLab.com CAPTCHA is an accessibility problem which prevents me from reporting directly to upstream. Thanks in advance for forwarding.

