Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
37 lines (25 sloc) 1.03 KB
NAME
WikiText - Wiki Text Conversion Tools
SYNOPSIS
my $parser = WikiText::Sample::Parser->new(
receiver => WikiText::HTML::Emitter->new,
);
my $wikitext = "
== A Title
This is some text that contains a '''bold phrase''' in it.
";
my $html = $parser->parse(shift);
DESCRIPTION
The WikiText modules parse documents in various formats. A parse has a
receiver. The receiver takes the parse events and creates a new form.
The new form can be HTML, an AST or another wiki markup.
Some formats are richer than others. The module WikiText::WikiByte
defines a bytecode format. The bytecode format is rich enough to be a
receiver for any parse, therefore it makes an ideal intermediate format.
AUTHOR
Ingy döt Net <ingy@cpan.org>
COPYRIGHT
Copyright (c) 2008. Ingy döt Net.
This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
See http://www.perl.com/perl/misc/Artistic.html