logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

YAML::PP::Highlight - Syntax highlighting utilities

Functions

       Dump

           use YAML::PP::Highlight qw/ Dump /;

           my $highlighted = Dump $data;
           my $highlighted = Dump @docs;

       It  will  dump  the given data, and then parse it again to create tokens, which are then highlighted with
       ansi colors.

       The return value is ansi colored YAML.

perl v5.40.0                                       2025-02-15                           YAML::PP::Highlight(3pm)

Name

       YAML::PP::Highlight - Syntax highlighting utilities

Synopsis

           use YAML::PP::Highlight qw/ Dump /;

           my $highlighted = Dump $data;

See Also