Skip to content

MinchinWeb/markdown-handler

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 markdown.conf to your Apache user configuration folder -- In my case (running Apache2 on Ubuntu) that folder is /etc/apache2/conf.d/, or rename markdown.conf as .htaccess and place file with website root, 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.

About

Fork of Apache handler for .md files that allows for user installation.

Topics

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 93.5%
  • CSS 5.4%
  • JavaScript 1.1%