Markdown filter module for Apache HTTPD Server
C M4 Makefile
Latest commit 7b0eb68 Aug 17, 2016 @hamano update Makefile
Failed to load latest commit information.
m4 add ax_check_compile_flag.m4 Mar 23, 2015
.gitignore supported CSS Feb 2, 2011
.travis.yml fix apxs2 path Oct 22, 2015
AUTHORS autotoolize Jan 19, 2011
COPYING autotoolize Jan 19, 2011
ChangeLog autotoolize Jan 19, 2011
INSTALL change configure argument Sep 10, 2014 update Makefile Aug 17, 2016
NEWS supported CSS Feb 2, 2011 update README Aug 15, 2016 update Aug 17, 2016
mod_markdown.c change raw output handling Oct 20, 2015


Build Status

mod_markdown is Markdown filter module for Apache HTTPD Server.


For Debian:

# apt-get install build-essential libtool automake autoconf
# apt-get install libmarkdown2-dev


% autoreconf -f -i
% ./configure --with-apxs=<APXS_PATH> --with-discount=<DISCOUNT_DIR>
% make
% make install

Note: <DISCOUNT_DIR> is the directory that contains the include directory that contains mkdio.h Probably you need to specify --with-discount=/usr or --with-discount=/usr/local


in httpd.conf:

LoadModule markdown_module modules/

You need to specify full path on debian or ubuntu.

LoadModule markdown_module /usr/lib/apache2/modules/
<Location />
    AddHandler markdown .md

    # If you want to use stylesheet.
    MarkdownCss style.css


<Directory /var/www>
    AddHandler markdown .md