Use ends-with() to check mediaType for syntax highlighting language