All available lexers for use with the highlight tag are lower case.e This is fine on case-insensitive file systems like OS X, but builds that work locally may fail on linux-based systems, which are case sensitive. (e.g., CSharp may work locally, while it fails on GItHub Pages).
Force lexers to be lower case before passing to Pygments.
downcase lexers before passing to Pygments
Thanks for the explanation, @benbalter :)
Would you mind quickly adding a test for this?
actually downcase lexer
test for lexer case insensitivity
Done and done. As an added bonus, it actually works now. 😄
Thank goodness for tests! :) Thanks, Ben!
ba da bing. ba da boom. Merged! 🚢 all the things! ❤️
Update history to reflect merge of #1615