Template::Provider::Markdown - Markdown as template body, no HTML.


Template-Provider-Markdown documentation  | view source Contained in the Template-Provider-Markdown distribution.

Index


NAME

Top

Template::Provider::Markdown - Markdown as template body, no HTML.

VERSION

Top

Version 0.05

SYNOPSIS

Top

This module import Markdown syntax as the body of template. You don't live with HTML anymore.

    use Template;
    use Template::Provider::Markdown;
    my $tt = Template->new(
        LOAD_TEMPLATES => [ Template::Provider::Markdown->new ]
    );
    my $template = 'My name is [% author %]';
    print $tt->process(\$template, { author => "Charlie" });

    <p>My name is Charlie</p>

FUNCTIONS

Top

_load()

This function is the entry point as a Template::Provider. You shouldn't call any functions in this module, but rather just use this module as the way in SYNOPSIS.

AUTHOR

Top

Kang-min Liu, <gugod at gugod.org>

BUGS

Top

Please report any bugs or feature requests to bug-template-provider-markdown at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Template-Provider-Markdown. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

Top

You can find documentation for this module with the perldoc command.

    perldoc Template::Provider::Markdown

You can also look for information at:

* AnnoCPAN: Annotated CPAN documentation

http://annocpan.org/dist/Template-Provider-Markdown

* CPAN Ratings

http://cpanratings.perl.org/d/Template-Provider-Markdown

* RT: CPAN's request tracker

http://rt.cpan.org/NoAuth/Bugs.html?Dist=Template-Provider-Markdown

* Search CPAN

http://search.cpan.org/dist/Template-Provider-Markdown

COPYRIGHT & LICENSE

Top


Template-Provider-Markdown documentation  | view source Contained in the Template-Provider-Markdown distribution.