sub syntax_highlight { my($code, $language) = @_; my $syntax = Text::VimColor->new( string => $code, filetype => $language, ); return $syntax->html; }
sub syntax_highlight { Text::VimColor->new(string => $_[0], filetype => $_[1])->html; }