IkiWiki::Plugin::syntax::Simple - Simple engine for syntax highlight


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

Index


NAME

Top

IkiWiki::Plugin::syntax::Simple - Simple engine for syntax highlight

VERSION

Top

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

SYNOPSIS

Top

	use IkiWiki::Plugin::syntax::Simple;

    my $engine = IkiWiki::Plugin::syntax::Simple->new();

    my $htmlized_text = $engine->syntax_highlight(
                            source   =>  q(....),
                            language => q(pod),
                            linenumbers => 1,
                            );

DESCRIPTION

Top

This module provides a simple syntax highlight engine for use with ikiwiki on installations where don't install third party modules.

The code return the source text received without special CSS marks inside with the exception of the PRE html paragraph.

SUBROUTINES/METHODS

Top

build_plugin_info( )

Returns a hash with information about his capabilities.

can_syntax_from( )

This method returns always true because it don't make any real work with the source.

DIAGNOSTICS

Top

This module don't raise any exceptions.

CONFIGURATION AND ENVIRONMENT

Top

This module don't need any special configuration nor environment.

DEPENDENCIES

Top

IkiWiki::Plugin::syntax::base

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.