IkiWiki::Plugin::syntax::CSS - Cascade Style Sheet library tags


IkiWiki-Plugin-syntax documentation  | view source Contained in the IkiWiki-Plugin-syntax distribution.

Index


NAME

Top

IkiWiki::Plugin::syntax::CSS - Cascade Style Sheet library tags

VERSION

Top

This documentation refers to IkiWiki::Plugin::syntax::CSS version 0.1

SYNOPSIS

Top

    package IkiWiki::Plugin::syntax::base;

    use IkiWiki::Plugin::syntax::CSS;

    ...

    1;

DESCRIPTION

Top

This package adds methods for build valid CSS expressions using neutral names.

SUBROUTINES/METHODS

Top

css( )

    $self->css('title',q(This is the syntax paragraph title));

    $self->css('mySpecialCSStag',q(special paragraph));

This method take a tag name and a scalar text and builds a valid CSS text for inclusion in HTML files.

If the tag name don't exists in the internal table, the method take his value as literal.

css_pair( )

    my ($begin_css, $end_css) = $self->css_pair('content');

This method returns two CSS sequences, the begining and the ending, using the parameter received as the class name.

match_css( )

    if ($self->match_css( 'title', $my_html_text)) {
        # the text contains the CSS sequences on title class.
        1;
    }

This method looks for an expression CSS within a text.

regex_match_css( )

    if ($text =~ $self->regex_match_css( 'title' )) {
        1;
    }

This method build a regular expression for matches a CSS opening and closing expression.

DIAGNOSTICS

Top

This module don't raise any exception.

BUGS AND LIMITATIONS

Top

There are no known bugs in this module. Please report problems to the author. Patches are welcome.

AUTHOR

Top

Víctor Moral <victor@taquiones.net>

LICENSE AND COPYRIGHT

Top


IkiWiki-Plugin-syntax documentation  | view source Contained in the IkiWiki-Plugin-syntax distribution.