ports/www/p5-Text-MultiMarkdown-ApacheHandler/files/pkg-message.in
Ryan Steinmetz 7adba27c8c New port: www/p5-Text-MultiMarkdown-ApacheHandler:
Processes files containing MultiMarkdown syntax into HTML files and serves
them, optionally applying CSS styles according to rules in your httpd.conf
or (more likely) .htaccess files. Optionally applies SmartyPants
post-processing using Text::Typography.

WWW: http://search.cpan.org/dist/Text-MultiMarkdown-ApacheHandler/
2013-05-06 18:39:43 +00:00

9 lines
271 B
Text

Please create %%PREFIX%%/etc/apache22/Includes/mmd.conf
with the following contents:
AddType text/multimarkdown .markdown .mmd
<Files ~ "\.(mmd|markdown)$">
SetHandler perl-script
PerlHandler Text::MultiMarkdown::ApacheHandler
PerlSetVar mm_useSmartyPants 1
</Files>