Text::Markdown::ApacheHandler - Processes files with Markdown syntax for Apache
Version 0.04
Processes files containing Markdown syntax into HTML files and serves them, optionally applying CSS styles according to rules in your httpd.conf or (more likely) .htaccess files.
You might put some lines like this in your .htaccess or httpd.conf file:
.htaccess
httpd.conf
AddType text/markdown .markdown .mkd .mhtml <Files ~ "\.(markdown|mkd|mhtml)$"> SetHandler perl-script PerlHandler Text::Markdown::ApacheHandler PerlAddVar mkd_stylesheet "style/mkd.css" </Files> <Directory /www/html/fancy/> PerlAddVar mkd_stylesheet "fancy.css" </Directory>
Standard Apache module entry point
Darren Kulp, <darren at kulp.ch>
<darren at kulp.ch>
Please report any bugs or feature requests to bug-text-markdown-apachehandler at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Text-Markdown-ApacheHandler. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-text-markdown-apachehandler at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Text::Markdown::ApacheHandler
You can also look for information at:
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Text-Markdown-ApacheHandler
CPAN Ratings
http://cpanratings.perl.org/d/Text-Markdown-ApacheHandler
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Text-Markdown-ApacheHandler
Search CPAN
http://search.cpan.org/dist/Text-Markdown-ApacheHandler
Tests. I haven't yet looked into how to do tests for an Apache module like this; I want to do them more for the experience than the necessity, since there is practically nothing in this module.
The excellent Text::Markdown module and its author, and "Writing Apache Modules with Perl and C" by Lincoln Stein and Doug MacEachern.
Copyright 2006 Darren Kulp, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Text::Markdown::ApacheHandler, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Text::Markdown::ApacheHandler
CPAN shell
perl -MCPAN -e shell install Text::Markdown::ApacheHandler
For more information on module installation, please visit the detailed CPAN module installation guide.