There are a few tracks that don’t have highlight.js syntax highlighting. I’m thinking about writing one for jq. It looks like a large-ish undertaking but what I’m most hesitant about is owning it. I wonder if this is something that could be placed under the exercism organization. Thoughts?
Secondly, I notice that for some languages, in a community solution there’s no highlighting for the person’s code but the previews of other solutions are highlighted. An example. How is that happening?
It seems ClojureScript doesn’t have a Highlightjs package.
On a solution-snippet-preview you will see a Clojure (among others) highlighting, because Highlightjs tries to detect the language if it is not provided as a language-[language] class name format (in our case), and there the format isn’t correct. This must be fixed.
If you scroll through the Community Solutions list, you will see a lot of wrong guesses (e.g. applescript, hy, dsconfig, cobol).
But on the solution itself the class name format is correct, so it won’t start guessing which language it needs to format, but can’t find the desired language-pack, because it doesn’t support ClojureScript.