Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

sminnee/markdown-handler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Markdown Handler

This little script adds an Apache handler that lets you view Markdown files with a .md 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.
  • Ensure that mod_rewrite and mod_actions are enabled in your Apache server:
    • sudo a2enmod rewrite
    • sudo a2enmod actions
    • sudo systemctl restart apache2 (apply the changes)
  • Copy the markdown directory into your webroot.

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

About

Apache handler for .md files, written in PHP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published