Basically Syntax::Highlight::Kate is slow and trying to prettify
anything relative big s really slow. So just don't even try. Sad face.
sub render {
my ($self, $c, $blob, $args) = @_;
+
+ # Don't bother with anything over 64kb, it'll be tragically slow.
+ return encode_entities $blob if length $blob > 8192;
my $lang = $args->{language};