Regarding Rouge lexer, I've taken @hastebrot 's original PR and multiline should work now. But indeed there's still no support for generics, and also object expression syntax has some issue. It works for most situations, and we'll (me and my team) will try to improve it gradually.