Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 853 Bytes

README.md

File metadata and controls

29 lines (20 loc) · 853 Bytes

Markdown Handler

This little script adds an Apache handler that lets you view Markdown files with a .md (or .mdown or .markdown) extension more prettily on your webserver.

It's based on a PHP Markdown implementation by Michel Fortin.

Installation

  • Copy .htaccess to your root, or update your httpd.conf file with its contents, if you prefer.
  • Copy the markdown directory into your webroot.

Now visit a .md file on your webserver; you should see it as properly styled HTML.

You will need PHP and mod_handler active for Apache servers.

MathJax does not need to be installed, as it is automatically loaded from the MathJax CDN.

display-test.md

This file is provided to allow you to test to see if everything is displaying the way it should.