The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Syntax::Kamelon::Format::ANSI - Formatting module for ANSI output

SYNOPSIS

 $kam = Syntax::Kamelon->new(
    syntax => 'Perl',
    formatter => ['ANSI',
       lineoffset => 1,
    ],
 );

DESCRIPTION

Syntax::Kamelon::Format::ANSI provides a formatting interface for ANSI escape sequence output. It inherits Syntax::Kamelon::Format::Base

OPTIONS

The constructor is called with a paired list of options as parameters. You can use the following options.

theme => $themename

sets the color theme to be used for highlighting.

Available themes are: black, bright_black, blue, bright_blue, cyan, bright_cyan, green, bright_green, magenta, bright_magenta, red, bright_red, white, bright_white, yellow, bright_yellow. By default it is set to black.

If you think the predefined color themes are hideous you can always set your own colors by using the format_table option. If you do this option is ignored.

AUTHOR AND COPYRIGHT

This module is written and maintained by:

Hans Jeuken < hanje at cpan dot org >

Copyright (c) 2017 - 2023 by Hans Jeuken, all rights reserved.

Published under the same license as Perl.

SEE ALSO

Syntax::Kamelon, Syntax::Kamelon::Builder, Syntax::Kamelon::Debugger, Syntax::Kamelon::Diagnostics, Syntax::Kamelon::Indexer, Syntax::Kamelon::XMLData, Syntax::Kamelon::Format::Base, Syntax::Kamelon::Format::HTML4