Text::Smart::HTML man page on Pidora
[printable version]
Text::Smart::HTML(3) User Contributed Perl Documentation Text::Smart::HTML(3)
NAME
Text::Smart::HTML - Smart text outputter for HTML
SYNOPSIS
use Text::Smart::HTML;
my $markup = Text::Smart::HTML->new(%params);
DESCRIPTION
METHODS
my $proc = Text::Smart::HTML->new(target => $target);
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)
my $markup = $proc->generate_divider
Generates a horizontal divider using the <hr> tag.
my $markup = $proc->generate_itemize(@items)
Generates an itemized list of bullet points using the <ul> tag.
my $markup = $proc->generate_enumeration(@items)
Generates an itemized list of numbered points using the <ol> tag
my $markup = $proc->generate_heading($text, $level)
Generates a heading using one of the tags <h1> through <h6>
my $markup = $proc->generate_paragraph($text)
Gnerates a paragraph using the <P> tag.
my $markup = $proc->generate_bold($text)
Generates bold text using the <strong> tag
my $markup = $proc->generate_italic($text)
Generates italic text using the <em> tag.
my $markup = $proc->generate_monospace($text)
Generates monospaced text using the <code> tag.
my $markup = $proc->generate_link($url, $text)
Generates a hyperlink using the <a> tag.
my $markup = $proc->generate_entity($text)
Generates entities using the ½, ¼, ¾, ©,
® and <sup> TM </sup> entities / markup.
my $text = $proc->escape($text)
Escapes the ampersand, and angle bracket characters
AUTHORS
Daniel Berrange <dan@berrange.com>
COPYRIGHT
Copyright (C) 2000-2004 Daniel P. Berrange <dan@berrange.com>
SEE ALSO
perl(1)
perl v5.14.1 2008-02-23 Text::Smart::HTML(3)
[top]
List of man pages available for Pidora
Copyright (c) for man pages and the logo by the respective OS vendor.
For those who want to learn more, the polarhome community provides shell access and support.
[legal]
[privacy]
[GNU]
[policy]
[cookies]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
|
Vote for polarhome
|