man Zim::Formats::Wiki () - Wiki text parser

NAME

Zim::Formats::Wiki - Wiki text parser

SYNOPSIS

        use Zim::Formats::Wiki;

        my $parsetree = Zim::Formats::Wiki->load_tree($text);
        # ... modify the parse tree ...
        $text = Zim::Formats::Wiki->save_tree($parsetree);

DESCRIPTION

This is the default parser for Zim. It uses a wiki-style syntax to format plain text.

FIXME more verbose description

METHODS

load_tree(TEXT, PAGE)
Parses a piece of plain text into a parse tree. Returns the parse tree.
save_tree(TREE, PAGE)
Serializes the parse tree into a piece of plain text. Returns the text.

AUTHOR

Jaap Karssenberg (Pardus) <pardus@cpan.org>

Copyright (c) 2005 Jaap G Karssenberg. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

Zim, Zim::Repository, Zim::Page