Text::Smart::HTML - Smart text outputter for HTML
use Text::Smart::HTML; my $markup = Text::Smart::HTML->new(%params);
Creates a new smart text processor which outputs HTML markup. The only target parameter is used to specify the hyperlink window target (via the 'target' attribute on the <a> tag)
target
Generates a horizontal divider using the <hr> tag.
Generates an itemized list of bullet points using the <ul> tag.
Generates an itemized list of numbered points using the <ol> tag
Generates a heading using one of the tags <h1> through <h6>
Gnerates a paragraph using the <P> tag.
Generates bold text using the <strong> tag
Generates italic text using the <em> tag.
Generates monospaced text using the <code> tag.
Generates a hyperlink using the <a> tag.
Generates entities using the ½, ¼, ¾, ©, ® and <sup> TM </sup> entities / markup.
Escapes the ampersand, and angle bracket characters
Daniel Berrange <dan@berrange.com>
Copyright (C) 2000-2004 Daniel P. Berrange <dan@berrange.com>
perl(1)
To install Text::Smart, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Text::Smart
CPAN shell
perl -MCPAN -e shell install Text::Smart
For more information on module installation, please visit the detailed CPAN module installation guide.