Hello! I noticed that the syntax highlighting for Python when viewing solutions on the web doesn’t include any highlights for match and case.
Here is an example image from the darts exercise, where they aren’t highlighted:
Also, here is my solution for the exercise so you can see it in your own browser. This is the same code as the image I provided earlier.
Although I don’t use the editor, match and case aren’t highlighted there either. I find it easier to read code with syntax highlighting. Would it be possible to add syntax highlighting for match and case?
I believe Exercism’s web editor relies on Highlight.js for syntax highlighting. Once that project is updated to support match/case, Exercism could bump their package version to get the latest and greatest.
Do you know if Highlight.js supports match/case highlighting? If not, you could potentially contribute it to that project!