Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Libraries

    Syntax::Highlight::HTML 0.04

    Download button

    No screenshots available
    Downloads: 315  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Sebastien Aperghis-Tramoni | More programs
    Perl Artistic License / FREE
    April 4th, 2007, 00:05 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    Syntax::Highlight::HTML description

    Syntax::Highlight::HTML is a Perl module to highlight a HTML syntax.

    Syntax::Highlight::HTML is a Perl module to highlight a HTML syntax.

    SYNOPSIS

    use Syntax::Highlight::HTML;

    my $highlighter = new Syntax::Highlight::HTML;
    $output = $highlighter->parse($html);
    If $html contains the following HTML fragment:
    < !-- a description list -->
    < dl compact="compact">
    < dt>some word< /dt>
    < dd>the description of the word. Plus some < a href="/definitions/other_word"
    >reference< /a> towards another definition. < /dd>
    < /dl>
    then the resulting HTML contained in $output will render like this:
    < !-- a description list -->
    < dl compact="compact">
    < dt>some word< /dt>
    < dd>the description of the word. Plus some < a href="/definitions/other_word"
    >reference< /a> towards another definition. < /dd>
    < /dl>

    This module is designed to take raw HTML input and highlight it (using a CSS stylesheet, see "Notes" for the classes). The returned HTML code is ready for inclusion in a web page.
    It is intented to be used as an highlighting filter, and as such does not reformat or reindent the original HTML code.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    highlight syntax | HTML syntax | Perl module | Syntax::Highlight::H | highlight | HTML

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM