NAME

App::sdview::Style - store formatting style information for App::sdview

DESCRIPTION

This module stores formatting style information for App::sdview text output formatters, such a App::sdview::Output::Plain or App::sdview::Output::Terminal.

Config File

Style information can be overridden by the user, supplying a Config::Tiny-style file at $HOME/.sdviewrc. Formatting for each kind of paragraph is provided in a section called Para $NAME, and each individual key gives formatting values.

[Para head1]
bold = 0|1
italic = 0|1
monospace = 0|1
blank_after = 0|1
under = NUM
margin = NUM

[Para head2]
...

The value for keys that set colours should be a string suitable for Convert::Color->new:

[Para head1]
fg = vga:red
bg = xterm:184

AUTHOR

Paul Evans <leonerd@leonerd.org.uk>