Formatter::HTML::MPS
This module converts MPS input to HTML. MPS is a simple format describing a presentation or a set of slides; it is a combination of the lightweight markup language Markdown and a separate markup language to configure this formatter. The slides are contained in a single HTML file, and should be shown as individual slides using CSS. It conforms with the Formatter API specification, version 0.95.
Each slide is formatted using the Markdown format. In addition to that, a simple format is used to set variables and to denote new slides. All MPS directives start with ';', and comments start with ';;'. Neither the MPS directives or comments will appear in the output. To indicate a new slide, use the 'newslide' directive. I.e., start the line with: ; newslide To set a configuration variable, use the 'set' directive. I.e.: ; set VAR = VALUE Currently, supported variables are: * output_format: only 'xhtml1.0_strict' is supported. Example: ; set output_format = xhtml1.0_strict * title: the title of the presentation.
use Formatter::HTML::MPS; my $formatter = Formatter::HTML::MPS->format( $mpsdata );
Initialize the formatter. Returns an instance of this formatter for the specified input.
Returns the HTML formatting of the previously specified input.
Returns the title of the document.
Return the links in the document... At least that's what it should do when it's implemented.
Please let me know. :)
Copyright 2006 Vetle Roeim <vetler@gmail.com>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.4 or, at your option, any later version of Perl 5 you may have available.
To install Formatter::HTML::MPS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Formatter::HTML::MPS
CPAN shell
perl -MCPAN -e shell install Formatter::HTML::MPS
For more information on module installation, please visit the detailed CPAN module installation guide.