Syntax::Kamelon::Format::ANSI - Formatting module for ANSI output
$kam = Syntax::Kamelon->new( syntax => 'Perl', formatter => ['ANSI', lineoffset => 1, ], );
Syntax::Kamelon::Format::ANSI provides a formatting interface for ANSI escape sequence output. It inherits Syntax::Kamelon::Format::Base
The constructor is called with a paired list of options as parameters. You can use the following options.
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.
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.
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
To install Syntax::Kamelon, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Syntax::Kamelon
CPAN shell
perl -MCPAN -e shell install Syntax::Kamelon
For more information on module installation, please visit the detailed CPAN module installation guide.