pygmentize wants lowercase lexer names, so I added strtolower() to replaceSnippets