Rechercher une page de manuel
Text::Smart::HTML.3pm
Langue: en
Version: 2008-02-23 (fedora - 05/07/09)
Section: 3 (Bibliothèques de fonctions)
NAME
Text::Smart::HTML - Smart text outputter for HTMLSYNOPSIS
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)Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre