IkiWiki::Plugin::syntax::CSS - Cascade Style Sheet library tags
This documentation refers to IkiWiki::Plugin::syntax::CSS version 0.1
package IkiWiki::Plugin::syntax::base; use IkiWiki::Plugin::syntax::CSS; ... 1;
This package adds methods for build valid CSS expressions using neutral names.
$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.
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.
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.
if ($text =~ $self->regex_match_css( 'title' )) { 1; }
This method build a regular expression for matches a CSS opening and closing expression.
This module don't raise any exception.
There are no known bugs in this module. Please report problems to the author. Patches are welcome.
Víctor Moral <victor@taquiones.net>
Copyright (c) 2008 "Víctor Moral" <victor@taquiones.net>
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 US
1 POD Error
The following errors were encountered while parsing the POD:
Non-ASCII character seen before =encoding in 'Víctor'. Assuming UTF-8
To install IkiWiki::Plugin::syntax, copy and paste the appropriate command in to your terminal.
cpanm
cpanm IkiWiki::Plugin::syntax
CPAN shell
perl -MCPAN -e shell install IkiWiki::Plugin::syntax
For more information on module installation, please visit the detailed CPAN module installation guide.