docrender

docrender is a tool that takes a simple representation of a hypertext document and converts it to html for the browser to display
to set it up, route requests to .docr files through this php script (with the ?file parameter being the location of the file relative to the server webroot)

reference:
first line of every file: title (optional)
second line of every file: header (optional)
rest of file: body
links are formatted like [link text](link url)