Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.
/ emdee Public archive

A dynamic Markdown renderer

License

Notifications You must be signed in to change notification settings

superjamie/emdee

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

emdee

A dynamic Markdown renderer

Description

Live rendering of GitHub Flavored Markdown using Parsedown with Solarized CSS.

Requirements

Apache httpd with mod_rewrite and Overrides:

<Directory "/var/www/html">
    AllowOverride All
    Require all granted
</Directory>

Should be trivial to get working with lighttpd or nginx. Feel free to send a pull request to this README documenting the steps.

Usage

Clone this into the /md/ directory on your webserver.

Put Markdown documents in the same place, like so:

index.php
Parsedown.php
solarized-dark.css
solarized-light.css
myfilename.md

Make sure the webserver has access to read all the files.

Visit /md/myfilename to see rendered HTML.

You may optionally create a file index.md to display if no filename parameter is passed.

Page titles are generated using the first line of the document, expected to be a Markdown heading, eg:

file.md

# My Great File

Browser title becomes "My Great File"

License

GNU Affero GPL v3

Authors

Jamie Bainbridge (jamie.bainbridge@gmail.com)