mirror of
https://git.freebsd.org/ports.git
synced 2025-06-23 05:30:31 -04:00
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/
9 lines
271 B
Text
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>
|